quil.instructions
Base error type for errors related to Instruction
processing.
Errors that may occur when initializing a Call
.
Errors that may occur when initializing or validating a PRAGMA EXTERN
instruction.
Errors that may occur when performing operations on a Gate
.
Errors that may occur while parsing an Instruction
.
Errors that may occur while parsing a MemoryReference
.
Inherited Members
Inherited Members
Inherited Members
Inherited Members
Inherited Members
Inherited Members
Inherited Members
Unique identifier for a calibration definition within a program
A call instruction with a name and arguments.
An instruction that calls an external function declared with a PRAGMA EXTERN
instruction.
These calls are generally specific to a particular hardware or virtual machine backend.
For further detail, see:
- Other instructions and Directives in the Quil specification.
- EXTERN / CALL RFC
- quil#87
Also see [ExternSignature
].
Inherited Members
Inherited Members
Inherited Members
An extern parameter with a name, mutability, and data type.
A parameter type within an extern signature.
Inherited Members
Inherited Members
Inherited Members
An extern signature with a return type and parameters.
The signature of a PRAGMA EXTERN
instruction.
This signature is defined by a list of ExternParameter
s and an optional return type.
See the Quil Specification
for details on how these signatures are formed.
A struct encapsulating all the properties of a Quil Quantum Gate.
Return a copy of the Gate
with the CONTROLLED
modifier added to it.
Get the matrix resulting from lifting this Gate
to the full n_qubits
-qubit Hilbert space.
Raises a GateError
if any of the parameters of this Gate
are non-constant,
if any of the Qubit
s are variable,
if the name of this Gate
is unknown,
or if there are an unexpected number of parameters.
Notes
A previous version of this library called this to_unitary_mut
,
and modified the Gate
when called.
This is no longer possible, as it would modify the Gate
's hash,
leading to confusing bugs.
Gate
s, as well as all other hashable classes, are immutable from Python.
Bugs
Supplying n_qubits
as 0
will raise an unspecified exception;
other invalid input parameters may silently return an invalid result.
A struct encapsulating a quil Gate Definition
An enum of all the possible modifiers on a quil [Gate
]
An enum representing a the specification of a [GateDefinition
] for a given [GateType
]
Inherited Members
Inherited Members
Inherited Members
A Quil instruction.
Each variant (for Python users, each nested subclass) corresponds to a possible type of Quil instruction, which is accessible as a member within the variant.
Python Users
The subclasses of this class are class attributes defined on it, and can be used to "wrap" instructions when they should be stored together. In particular, they are NOT the instruction classes you'd typically create, and instances of instruction classes are NOT subclasses of this class:
>>> from quil.instructions import Instruction, Gate, Qubit
>>> issubclass(Instruction.Gate, Instruction)
True
>>> issubclass(Gate, Instruction)
False
>>> g = Gate("X", (), (Qubit.Fixed(0),), ())
>>> isinstance(g, Gate)
True
>>> isinstance(g, Instruction.Gate)
False
>>> g_instr = Instruction.Gate(g)
>>> isinstance(g_instr, Gate)
False
>>> isinstance(g_instr, Instruction.Gate)
True
>>> isinstance(g_instr._0, Gate)
True
>>> g_instr._0 == g
True
The point of this class is to wrap different kinds of instructions
when stored together in a collection, all of which are of type Instruction
.
You can check for different instruction variants and destructure them using match
:
match g_instr:
case Instruction.Gate(gate):
assert isinstance(gate, Gate)
case Instruction.Wait() | Instruction.Nop():
# note the `()` -- these aren't like Python's enumerations!
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
Inherited Members
- Instruction
- parse
- to_quil
- to_quil_or_debug
- is_quil_t
- Arithmetic
- BinaryLogic
- CalibrationDefinition
- Call
- Capture
- CircuitDefinition
- Convert
- Comparison
- Declaration
- Delay
- Exchange
- Fence
- FrameDefinition
- Gate
- GateDefinition
- Halt
- Include
- Jump
- JumpUnless
- JumpWhen
- Label
- Load
- MeasureCalibrationDefinition
- Measurement
- Move
- Nop
- Pragma
- Pulse
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- ShiftFrequency
- ShiftPhase
- Store
- SwapPhases
- UnaryLogic
- WaveformDefinition
- Wait
A unique identifier for a measurement calibration definition within a program
Parse a PauliGate
from a string.
Raises a ParseExpressionError
error if the string isn't a valid Quil expression.
Inherited Members
Inherited Members
Inherited Members
Inherited Members
Inherited Members
An opaque placeholder for a qubit whose index may be assigned at a later time.
Inherited Members
Inherited Members
An opaque placeholder for a label whose index may be assigned at a later time.
A parsed, but unresolved call argument. This may be resolved into a [ResolvedCallArgument
]
with the appropriate [ExternSignature
]. Resolution is required for building the
[crate::Program
] memory graph.