Clbit
qiskit.circuit.Clbit(register=None, index=None)
Bases: Bit
Implement a classical bit.
Creates a classical bit.
Parameters
- register (ClassicalRegister) – Optional. A classical register containing the bit.
- index (int(opens in a new tab)) – Optional. The index of the bit in its containing register.
Raises
CircuitError – if the provided register is not a valid ClassicalRegister
Was this page helpful?
Report a bug or request content on GitHub.