enums

enums#

Enumerations for representing a set of important one- and two-qubit gates.

Full path: iqm.pulse.gates.enums

Module Attributes

XYGATE_UNITARIES

Mapping of XYGates to the corresponding SU(2) matrices

TWO_QUBIT_UNITARIES

Mapping of TwoQubitGates to the corresponding U(4) matrices

Classes

TwoQubitGate

Enumerates a subset of two-qubit gates.

XYGate

Enumerate all single-qubit Clifford gates whose rotation axis is in the XY plane.

Inheritance

digraph inheritance778906d19a { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Enum" [URL="https://docs.python.org/3.11/library/enum.html#enum.Enum",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Create a collection of name/value pairs."]; "IntEnum" [URL="https://docs.python.org/3.11/library/enum.html#enum.IntEnum",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Enum where members are also (and must be) ints"]; "ReprEnum" -> "IntEnum" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ReprEnum" [URL="https://docs.python.org/3.11/library/enum.html#enum.ReprEnum",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Only changes the repr(), leaving str() and format() to the mixed-in type."]; "Enum" -> "ReprEnum" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TwoQubitGate" [URL="iqm.pulse.gates.enums.TwoQubitGate.html#iqm.pulse.gates.enums.TwoQubitGate",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Enumerates a subset of two-qubit gates."]; "Enum" -> "TwoQubitGate" [arrowsize=0.5,style="setlinewidth(0.5)"]; "XYGate" [URL="iqm.pulse.gates.enums.XYGate.html#iqm.pulse.gates.enums.XYGate",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Enumerate all single-qubit Clifford gates whose rotation axis is in the XY plane."]; "IntEnum" -> "XYGate" [arrowsize=0.5,style="setlinewidth(0.5)"]; }