Structs§
- Unique identifier for a calibration definition within a program
- A call instruction with a name and arguments.
- An extern parameter with a name, mutability, and data type.
- 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
. - An extern signature with a return type and parameters.
- A map of all program
PRAGMA EXTERN
instructions from their name to the corresponding parsed and validatedExternSignature
. - A struct encapsulating all the properties of a Quil Quantum Gate.
- A struct encapsulating a quil Gate Definition
- A struct that allows setting optional overrides for key
Instruction
methods. - A unique identifier for a measurement calibration definition within a program
- An opaque placeholder for a qubit whose index may be assigned at a later time.
- An opaque placeholder for a label whose index may be assigned at a later time.
Enums§
- An error that can occur when resolving a call instruction argument.
- An error that can occur when resolving a call instruction.
- An error that can occur when validating a call instruction.
- An error that can occur when resolving a call instruction, given a complete
ExternPragmaMap
for thecrate::program::Program
. - An error that can occur when resolving a call instruction to a specific
ExternSignature
. - An error that can occur when parsing an extern signature.
- A parameter type within an extern signature.
- An enum of all the possible modifiers on a quil
Gate
- An enum representing a the specification of a
GateDefinition
for a givenGateType
- The type of a
GateDefinition
- 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. - 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.
Constants§
Traits§
- Trait signature for a function or closure that returns an optional override for whether an instruction should be scheduled.
- Trait signature for a function or closure that returns an optional override for an instruction’s
MatchedFrames
. - Trait signature for a function or closure that returns an optional override for an instruction’s
MemoryAccesses
. - Trait signature for a function or closure that returns an optional override for an instruction’s
InstructionRole
.
Functions§
Type Aliases§
- Matrix version of a gate.