You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(b[i] isaNLevelBasis) ||throw(ArgumentError("Choi state must be over systems composed of SpinBasis(1//2) to be converted to chi representation"))
65
+
(b[i] isaSpinBasis &&dimension(b[i]) ==2) ||throw(ArgumentError("Choi state must be over systems composed of SpinBasis(1//2) to be converted to chi representation"))
40
66
end
41
67
end
42
68
@@ -49,7 +75,7 @@ function chi(op::ChoiStateType; tol=1e-9)
49
75
end
50
76
51
77
"""
52
-
function pauli(op::SuperOperatorType; tol=1e-9)
78
+
function hwpauli(op::SuperOperatorType; tol=1e-9)
53
79
bl, br = basis_l(op), basis_r(op)
54
80
((basis_l(bl) == basis_r(bl)) && (basis_l(br) == basis_r(br))) || throw(ArgumentError("Superoperator must map between square operators in order to be converted to pauli represenation"))
0 commit comments