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
Add a load_pytket method. One complication here is finding the call location for error reporting (see _parse_expr_string for extern method which does something similar).
The text was updated successfully, but these errors were encountered:
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.
Closes#670
Both finding the call location and then having either a node or a span
for errors feels a bit hacky but I haven't been able to think of
something better so far and it seems to work.
See #657 for initial issue.
Add a
load_pytket
method. One complication here is finding the call location for error reporting (see_parse_expr_string
forextern
method which does something similar).The text was updated successfully, but these errors were encountered: