Skip to content

Types

Bloqade types.

This module defines the basic types used in Bloqade eDSLs.

QubitType module-attribute

QubitType = PyClass(Qubit)

Kirin type for a qubit.

Qubit

Bases: ABC


              flowchart TD
              bloqade.types.Qubit[Qubit]

              

              click bloqade.types.Qubit href "" "bloqade.types.Qubit"
            

Runtime representation of a qubit.

Note

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