QBit#
qualtran.QBit
View source on GitHub
|
A single qubit. The smallest addressable unit of quantum data.
Inherits From: QDType, QCDType
qualtran.QBit()
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 QBit.
View source on GitHub