Skip to content

Spec

get_arch_spec

get_arch_spec() -> ArchSpec

Physical arch spec for logical compilation (transversal Steane code).

Source code in .venv/lib/python3.12/site-packages/bloqade/lanes/arch/gemini/physical/spec.py
22
23
24
25
def get_arch_spec() -> ArchSpec:
    """Physical arch spec for logical compilation (transversal Steane code)."""
    rust_spec = _RustArchSpec.from_json(_load_spec_json())
    return ArchSpec(rust_spec)

get_physical_layout_arch_spec

get_physical_layout_arch_spec() -> ArchSpec

Physical arch spec for direct physical qubit placement.

Same as get_arch_spec() — in the zone-centric model, the site topology is encoded in the site buses directly.

Source code in .venv/lib/python3.12/site-packages/bloqade/lanes/arch/gemini/physical/spec.py
28
29
30
31
32
33
34
def get_physical_layout_arch_spec() -> ArchSpec:
    """Physical arch spec for direct physical qubit placement.

    Same as get_arch_spec() — in the zone-centric model, the site topology
    is encoded in the site buses directly.
    """
    return get_arch_spec()