Skip to content

Accept AstConvertible wherever qubits are accepted#109

Open
PhilReinhold wants to merge 4 commits into
openqasm:mainfrom
PhilReinhold:pcrein/qubit-ast-convertible
Open

Accept AstConvertible wherever qubits are accepted#109
PhilReinhold wants to merge 4 commits into
openqasm:mainfrom
PhilReinhold:pcrein/qubit-ast-convertible

Conversation

@PhilReinhold
Copy link
Copy Markdown
Collaborator

Allows users to pass their own qubit-like classes (implementing to_ast or _to_oqpy_expression) directly to Program.reset, measure, gate (including control/neg_control), and the gate/defcal context managers, mirroring the conversion behavior already provided for other qasm expressions.

Allows users to pass their own qubit-like classes (implementing
to_ast or _to_oqpy_expression) directly to Program.reset, measure,
gate (including control/neg_control), and the gate/defcal context
managers, mirroring the conversion behavior already provided for
other qasm expressions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant