QDType#

qualtran.QDType

The abstract interface for quantum data types.

Inherits From: QCDType

num_bits

 

num_cbits

Number of classical bits required to represent a single instance of this data type.

num_qubits

Number of qubits required to represent a single instance of this data type.