CBit#
qualtran.CBit
View source on GitHub
|
A single classical bit. The smallest addressable unit of classical data.
Inherits From: CDType, QCDType
qualtran.CBit()
Attributes
num_bitsnum_cbitsNumber of classical bits required to represent a single instance of this data type.
num_qubitsNumber of qubits required to represent a single instance of this data type.
Methods#
__ne__
__ne__(
other
)
Check equality and either forward a NotImplemented or return the result negated.
__eq__
__eq__(
other
)
Method generated by attrs for class CBit.
View source on GitHub