Skip to content

Instantly share code, notes, and snippets.

@frankzickert
Created June 23, 2022 12:30
Show Gist options
  • Save frankzickert/460f5cda6a61a3c5f8537e24c63f0555 to your computer and use it in GitHub Desktop.
Save frankzickert/460f5cda6a61a3c5f8537e24c63f0555 to your computer and use it in GitHub Desktop.
from qiskit import ClassicalRegister
cr = ClassicalRegister(DIGITS, "cr")
qr = QuantumRegister(DIGITS, "digits")
qc = QuantumCircuit(qr, aux, cr)
# ...
qc.measure(qr, cr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment