Skip to content

Commit

Permalink
Removed creation function for quoperators as it wont be supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
AGaliciaMartinez committed Dec 28, 2021
1 parent b917e61 commit e8d2a8f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/qutip_tensornetwork/core/data/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
import tensornetwork as tn


def from_quoperator(quoperator):
"""Create a Network from a ``Quoperator``."""
return Network(quoperator.out_edges, quoperator.in_edges, quoperator.ref_nodes)


def _network_to_dense(network):
return qutip.data.Dense(network.to_array(), copy=False)

Expand Down

0 comments on commit e8d2a8f

Please sign in to comment.