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
LinearAlgebra.tr is the Julia function for the trace operator. Specialized methods must be defined for QuantumTensorNetwork.
If the quantum tensor network is a Property (i.e. a closed TN, its contraction returns a scalar number), then it should act as the identity and do nothing.
If it's a State, it should error.
If it's an Operator, then it should connect the input and output indices.
The text was updated successfully, but these errors were encountered:
LinearAlgebra.tr
is the Julia function for the trace operator. Specialized methods must be defined forQuantumTensorNetwork
.If the quantum tensor network is a
Property
(i.e. a closed TN, its contraction returns a scalar number), then it should act as the identity and do nothing.If it's a
State
, it should error.If it's an
Operator
, then it should connect the input and output indices.The text was updated successfully, but these errors were encountered: