qat.lang.AQASM.bits.QRegister

class qat.lang.AQASM.bits.QRegister(offset, length=1, scope=None, qbits_list=None)

Class for registers of qbits. They should only be declared through the qalloc method of the Program class. Qbits inside a register can be accessed similarly to elements of an array (i.e using brackets and slices).