Module arch

Module arch 

Source
Expand description

Architecture specification types, address encoding, and validation.

This module defines the physical topology of a Bloqade quantum device: words, grids, transport buses, zones, and the ArchSpec that ties them together. It also provides bit-packed address types used by bytecode instructions and comprehensive structural validation.

§Key types

Re-exports§

pub use addr::Direction;
pub use addr::LaneAddr;
pub use addr::LocationAddr;
pub use addr::MoveType;
pub use addr::ZoneAddr;
pub use query::ArchSpecLoadError;
pub use types::ArchSpec;
pub use types::Bus;
pub use types::Buses;
pub use types::Geometry;
pub use types::Grid;
pub use types::TransportPath;
pub use types::Word;
pub use types::Zone;
pub use validate::ArchSpecError;

Modules§

addr
Bit-packed address types for bytecode instructions.
query
Arch spec queries: JSON loading, position lookup, lane resolution, and group-level address validation.
types
validate
Structural validation for ArchSpec.