microquantum.stdlib¶
System Standard Library (Phase 117).
Foundational, reusable building blocks for MicroQuantum programs, the runtime and the compiler:
microquantum.stdlib.bits— MSB-first bitstring/integer conversions and Hamming distances.microquantum.stdlib.numbers— angle normalization and modulo-2*piangle comparisons for rotations.microquantum.stdlib.states— common state-vector factories built onmicroquantum.StateVector.
The standard library is a stable public layer: it stays dependency-light,
depends only on microquantum.core where needed, adds no application
behaviour, and never duplicates APIs defined elsewhere in the SDK.