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
When the users apply the basic operations (:+, :-, :*) between GeneralSuperRepresentation and other representation, it should work. However, if the users apply them on different representations, it should print a warning message just like qutip.
function Base.:(==)(S1::SuperOperatorQuantumObject, S2::SuperOperatorQuantumObject)
if (S1 != S2)
if!(S1 == SuperOperator || S2 == SuperOperator)
# print warningendendreturntrueend
Also need to define some new functions same as qutip:
superrep(Q) (return superrep of Qobj)
to_super(Q)
to_choi(Q)
to_kraus(Q)
to_stinespring(Q)
to_chi(Q)
iscp(Q)
istp(Q)
ishp(Q)
iscptp(Q)
The text was updated successfully, but these errors were encountered:
In QuTiP, the superoperators have different representations:
Maybe we can make a new abstract type
AbstractSuperRepresentation
, and re-define the superoperator:When the users apply the basic operations (
:+
,:-
,:*
) betweenGeneralSuperRepresentation
and other representation, it should work. However, if the users apply them on different representations, it should print a warning message just like qutip.Also need to define some new functions same as qutip:
superrep(Q)
(returnsuperrep
ofQobj
)to_super(Q)
to_choi(Q)
to_kraus(Q)
to_stinespring(Q)
to_chi(Q)
iscp(Q)
istp(Q)
ishp(Q)
iscptp(Q)
The text was updated successfully, but these errors were encountered: