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
Right now the ControlFlowOp class and it's subclasses for each type of control flow Qiskit supports (for, while, if/else, switch) are defined solely in Python. We should move the definition of these to rust so the python side is creating and interacting with a rust owned structure. This will enable us to deal with control flow, including to recurse into the operations in rust without needing python.
This weakly depends on #12966 as we'll need to figure out the best way to expand PackedOperation to support this and the pattern we establish in #12966 will inform this.
The text was updated successfully, but these errors were encountered:
Right now the
ControlFlowOp
class and it's subclasses for each type of control flow Qiskit supports (for, while, if/else, switch) are defined solely in Python. We should move the definition of these to rust so the python side is creating and interacting with a rust owned structure. This will enable us to deal with control flow, including to recurse into the operations in rust without needing python.This weakly depends on #12966 as we'll need to figure out the best way to expand
PackedOperation
to support this and the pattern we establish in #12966 will inform this.The text was updated successfully, but these errors were encountered: