Commits

Erik Bray  committed 86ed7c8

Fix typo

  • Participants
  • Parent commits 44eb9e6

Comments (0)

Files changed (1)

File pyqc/braket.py

             return round_exactly_one_or_zero(result.tr())
         elif result.shape[0] == result.shape[1]:
             # Otherwise return a non-scalar operator
-            return Operator(oper)
+            return Operator(result)
         else:
             # This could be a bra times an operator which would return a bra
             # Qobj