Skip to main content

Module instruction

Module instruction 

Source
Expand description

Backend-independent instructions executed by the Bloq VM.

The types in this module deliberately contain no Bloq IR node, graph, or expression types. crate::lower() resolves those into dense identifiers, executable quantum streams, and structured control flow once up front.

Structs§

BoundaryBinding
Runtime boundary operator. input faces are declarative source endpoints; output faces are measured when their observable closes.
BoundaryFlow
DecodeRequest
One decoder query against an already-lowered Observable.
FrontierInitializer
Set record to parity before a dynamic wait executes its first cycle. A cycle overwrites the same frontier record with its measured value.
LogicalInput
One external logical input in dense VM coordinates.
LogicalOutput
One terminal logical output in dense VM coordinates.
MemoryCycle
One dynamically repeatable memory cycle on a seam. Boundary flows carry the last-round evidence needed to compose detectors across extra cycles.
Moment
PauliProduct
Hermitian Pauli product. negative represents the real sign; ±i products are rejected during lowering.
Program
A lowered executable program.
QuantumAlternative
QuantumStream
QuantumTask
A conditional quantum stage is lowered to its finite executable choices.
RecordParity
Affine measurement parity. constant is the expected-sign term.
SourceSchedule
Stable schedule summary for one independently released source.
Stream
A set of tasks scheduled together. Dependencies, rather than vector order, define readiness; order only makes inspection deterministic.
Task
One schedulable unit.
TaskOrigin
Source geometry and function of one lowered task.

Enums§

BoolOp
Boolean bytecode with absolute register operands, or argument slots within a shared BoolOp::Call body.
Clifford1
Named single-qubit Clifford gates. Paulis and resets have dedicated ops.
DecodeTiming
Epoch from which decoder latency is measured.
Instruction
VM instruction set. Structured bodies refer to the shared task arena.
MomentKind
Physical moment class used by deterministic lane alignment.
Pauli
QuantumOp
SourceRole
Why an independently released task exists.
TaskFunction
Plot-facing function classification derived from compiled IR provenance.

Constants§

DEFAULT_DECODER_LATENCY_ROUNDS
Default mock streaming-decoder latency, in physical memory rounds.

Type Aliases§

BitId
Dense classical bit register.
QubitId
Dense simulator qubit.
RecordId
Dense measurement record.
ResourceId
Runtime readiness signal, normally produced by an accepted RUS region.
TaskId
Dense task identifier in Program::tasks.