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
tatiana-s
changed the title
Support circuits with classical bits and measurements in pytket circuit functions
Improve handling of measurements in pytket circuit functions
Dec 3, 2024
Closes#657, however the following limitations still exist which are
covered by further issues:
- #669: ~~Classical bits and measurements aren't currently supported as
this requires some checks related to ownership and return values.~~ They
are supported but without taking ownership.
- #670: It would be nice to not have to provide an explicit function
stub for the circuit and also have `load_pytket` method which infers it.
- #671: It would also be nice to be able to provide arrays of qubits in
the function stub.
See #657 for initial issue.
The current implementation doesn't require ownership of the provided qubits, which doesn't line up with the Guppy ownership model.
We could also allow users to optionally add classical input values in the function stub.
The text was updated successfully, but these errors were encountered: