Skip to content

Index

Bloqade lanes bytecode compiler and validation framework.

Provides types for constructing, serializing, and validating lane-move bytecode programs targeting the Bloqade quantum computing platform.

Core types
  • :class:Program -- bytecode program (construct, parse, serialize, validate)
  • :class:Instruction -- individual bytecode instruction (factory methods)
  • :class:ArchSpec -- device architecture specification
Address types
  • :class:LocationAddress -- bit-packed atom location (word + site)
  • :class:LaneAddress -- bit-packed lane address (direction, move type, word, site, bus)
  • :class:ZoneAddress -- bit-packed zone address
Architecture building blocks
  • :class:Geometry, :class:Word, :class:Grid
  • :class:Buses, :class:Bus
  • :class:Zone, :class:TransportPath
Enums
  • :class:Direction -- FORWARD / BACKWARD
  • :class:MoveType -- SITE / WORD
C library helpers
  • :func:has_clib, :func:include_dir, :func:lib_dir, :func:lib_path
Exception hierarchy
  • :class:ArchSpecError -- architecture validation (18 subclasses)
  • :class:ValidationError -- bytecode validation
  • :class:ParseError -- SST text format parsing
  • :class:ProgramError -- BLQD binary format parsing
  • :class:DecodeError -- instruction decoding