Structs§
- Arithmetic
- Binary
Logic - Calibration
- Calibration
Identifier - Unique identifier for a calibration definition within a program
- Call
- A call instruction with a name and arguments.
- Capture
- Circuit
Definition - Comparison
- Convert
- Declaration
- Delay
- Exchange
- Extern
Parameter - An extern parameter with a name, mutability, and data type.
- Extern
Pragma Map - A map of all program
PRAGMA EXTERN
instructions from their name (if any) to the correspondingPragma
instruction. Note, keys areOption
s, but aNone
key will be considered invalid when converting to anExternSignatureMap
. - Extern
Signature - An extern signature with a return type and parameters.
- Extern
Signature Map - A map of all program
PRAGMA EXTERN
instructions from their name to the corresponding parsed and validatedExternSignature
. - Fence
- Frame
Definition - Frame
Identifier - Gate
- A struct encapsulating all the properties of a Quil Quantum Gate.
- Gate
Definition - A struct encapsulating a quil Gate Definition
- Include
- Instruction
Handler - A struct that allows setting optional overrides for key
Instruction
methods. - Jump
- Jump
Unless - Jump
When - Label
- Load
- Measure
Calibration Definition - Measure
Calibration Identifier - A unique identifier for a measurement calibration definition within a program
- Measurement
- Memory
Reference - Move
- Offset
- Pauli
Sum - Pauli
Term - Pragma
- Pulse
- Qubit
Placeholder - An opaque placeholder for a qubit whose index may be assigned at a later time.
- RawCapture
- Reset
- SetFrequency
- SetPhase
- SetScale
- Sharing
- Shift
Frequency - Shift
Phase - Store
- Swap
Phases - Target
Placeholder - An opaque placeholder for a label whose index may be assigned at a later time.
- Unary
Logic - Vector
- Waveform
- Waveform
Definition - Waveform
Invocation
Enums§
- Arithmetic
Operand - Arithmetic
Operator - Attribute
Value - Binary
Operand - Binary
Operator - Call
Argument Error - An error that can occur when resolving a call instruction argument.
- Call
Argument Resolution Error - An error that can occur when resolving a call instruction.
- Call
Error - An error that can occur when validating a call instruction.
- Call
Resolution Error - An error that can occur when resolving a call instruction, given a complete
ExternPragmaMap
for thecrate::program::Program
. - Call
Signature Error - An error that can occur when resolving a call instruction to a specific
ExternSignature
. - Comparison
Operand - Comparison
Operator - Extern
Error - An error that can occur when parsing an extern signature.
- Extern
Parameter Type - A parameter type within an extern signature.
- Gate
Error - Gate
Modifier - An enum of all the possible modifiers on a quil
Gate
- Gate
Specification - An enum representing a the specification of a
GateDefinition
for a givenGateType
- Gate
Type - The type of a
GateDefinition
- Instruction
- Instruction
Role - Parse
Instruction Error - Pauli
Gate - Pragma
Argument - Qubit
- Resolved
Call Argument - A resolved call argument. This is the result of resolving an
UnresolvedCallArgument
with the appropriateExternParameter
. It annotates the argument both with a type (and possibly a length in the case of a vector) and mutability. - Scalar
Type - Target
- Unary
Operator - Unresolved
Call Argument - A parsed, but unresolved call argument. This may be resolved into a
ResolvedCallArgument
with the appropriateExternSignature
. Resolution is required for building thecrate::Program
memory graph. - Validation
Error
Constants§
Traits§
- Calibration
Signature - GetIs
Scheduled FnMut - Trait signature for a function or closure that returns an optional override for whether an instruction should be scheduled.
- GetMatching
Frames FnMut - Trait signature for a function or closure that returns an optional override for an
instruction’s
MatchedFrames
. - GetMemory
Accesses FnMut - Trait signature for a function or closure that returns an optional override for an
instruction’s
MemoryAccesses
. - GetRole
ForInstruction FnMut - Trait signature for a function or closure that returns an optional override for an
instruction’s
InstructionRole
.
Functions§
Type Aliases§
- Frame
Attributes - Matrix
- Matrix version of a gate.
- Waveform
Parameters