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
The qirlib generator API contains some older design choices that don't match the new pyqir-generator API (#32), and should be reconsidered:
Instructions use string identifiers for results and qubits, but the new Python API abstracts away the string. It would be simpler and cheaper to use numeric identifiers.
QuantumRegister represents a single qubit, but ClassicalRegister represents a sequence of results, which is asymmetric. The Python API treats them symmetrically.
The text was updated successfully, but these errors were encountered:
bamarsha
changed the title
Clean up internal generator API to match incoming Python API
Clean up internal generator API to match current Python API
May 26, 2022
bamarsha
changed the title
Clean up internal generator API to match current Python API
Clean up qirlib generator API to match current Python API
Aug 8, 2022
The qirlib generator API contains some older design choices that don't match the new pyqir-generator API (#32), and should be reconsidered:
QuantumRegister
represents a single qubit, butClassicalRegister
represents a sequence of results, which is asymmetric. The Python API treats them symmetrically.The text was updated successfully, but these errors were encountered: