qiskit.circuit.ClassicalRegister
class ClassicalRegister(size, name=None)
Implement a classical register.
Create a new generic register.
__init__
__init__(size, name=None)
Create a new generic register.
Methods
Attributes
bit_type
alias of Clbit
name
Get the register name.
qasm
qasm()
Return OPENQASM string for this register.
size
Get the register size.
Was this page helpful?
Report a bug or request content on GitHub.