diff --git a/src/Quantum.jl b/src/Quantum.jl index ee8ccf5..d87b169 100644 --- a/src/Quantum.jl +++ b/src/Quantum.jl @@ -79,6 +79,8 @@ struct Quantum end end +Quantum(qtn::Quantum) = qtn + Tenet.TensorNetwork(q::Quantum) = q.tn Base.copy(q::Quantum) = Quantum(copy(TensorNetwork(q)), copy(q.sites))