Skip to content

Commit

Permalink
Variable-declaration and storage representation in Qiskit (#50)
Browse files Browse the repository at this point in the history
* Variable-declaration and storage representation in Qiskit

This is a proposal and design comments on how to begin adding the
representations of declared classical variables and stores to Qiskit,
including input variables, which correspond to the `input` keyword in
OpenQASM 3, and can be used to define parametric input of arbitrary
types into Qiskit.

For now, this RFC does not propose expanding Qiskit's classical type
system, so only `Bool` and `Uint` remain valid, and these parameters
cannot yet be used in gate-argument positions.  This is still strongly
desired, just not for this RFC.

* Fix incorrect examples

* Minor text fixes

* Update date

* Add comment on removal of ClassicalRegister
  • Loading branch information
jakelishman authored Nov 21, 2023
1 parent 5793e78 commit 44dc8c7
Showing 1 changed file with 516 additions and 0 deletions.
Loading

0 comments on commit 44dc8c7

Please sign in to comment.