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
We already do that in the example but we don't say why it is best practice, can be done with a Note box. e.g.
Note
It is best to use pytket loading for pure unitary circuits where possible. Guppy's ownership doesn't map well to pytket Circuits where qubits are typically alive from start to finish and measurement is projective. It does map to Guppy borrowing well though - so try to allocate and deallocate (measure/discard) qubits in Guppy, and pass them into the loaded pytket function.