Skip to content

Types

BitType module-attribute

BitType = PyClass(Bit)

Kirin type for a classical bit.

CRegType module-attribute

CRegType = PyClass(CReg)

Kirin type for a classical register.

QRegType module-attribute

QRegType = PyClass(QReg)

Kirin type for a quantum register.

Bit

Runtime representation of a bit.

Note

This is the base class of more specific bit types, such as a reference to a piece of classical register in some quantum register dialects.

CReg

Runtime representation of a classical register.

QReg

Runtime representation of a quantum register.