adjusted the direction of the basis transforms (related to changed behavior of qobj.transform)