Closed jofrevalles closed 8 months ago
This is expected, as no tensor is ever created for that lane and calling TensorNetwork(circuit)
will create a operator (no tensor, no index for that lane).
But this could be solved by simply adding an identity in that lane, right?
yes, but does it make sense? wouldn't a circuit where a lane has no gate be a smaller circuit?
Related code moved to Qrochet.jl
.
The function
TensorNetwork
fails when is called for a givenQuac.Circuit
and there are some lanes that do not contain any gate.Example: