bloqade.lanes.arch.build.blueprint.ZoneSpec
← Module overview
class
property
classZoneSpec¶source
bloqade.lanes.arch.build.blueprint.ZoneSpec
Specification for a single zone in a multi-zone architecture.
Signature
class ZoneSpec(num_rows: int, num_cols: int, entangling: bool = False, measurement: bool = True, word_topology: WordTopology | None = None, site_topology: SiteTopology | None = None)Words are arranged in a 2D grid (num_rows x num_cols). Horizontally adjacent word pairs form CZ entangling pairs in entangling zones.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
num_rows | int | required | Number of rows in the word grid. Must be >= 1. |
num_cols | int | required | Number of columns in the word grid. Must be >= 2 and even. |
entangling | bool | False | Whether this zone supports CZ entangling gates. |
measurement | bool | True | Whether this zone supports measurement. |
word_topology | WordTopology | None | None | |
site_topology | SiteTopology | None | None |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
num_rows | int | required | |
num_cols | int | required | |
entangling | bool | False | |
measurement | bool | True | |
word_topology | WordTopology | None | None | |
site_topology | SiteTopology | None | None |
propertynum_words¶source
bloqade.lanes.arch.build.blueprint.ZoneSpec.num_words