Skip to content

bloqade.lanes.arch.build.blueprint.ZoneSpec

← Module overview

classZoneSpecsource

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

NameTypeDefaultDescription
num_rowsintrequiredNumber of rows in the word grid. Must be >= 1.
num_colsintrequiredNumber of columns in the word grid. Must be >= 2 and even.
entanglingboolFalseWhether this zone supports CZ entangling gates.
measurementboolTrueWhether this zone supports measurement.
word_topologyWordTopology | NoneNone
site_topologySiteTopology | NoneNone

Attributes

NameTypeDefaultDescription
num_rowsintrequired
num_colsintrequired
entanglingboolFalse
measurementboolTrue
word_topologyWordTopology | NoneNone
site_topologySiteTopology | NoneNone

propertynum_wordssource

bloqade.lanes.arch.build.blueprint.ZoneSpec.num_words

num_words: int

Total number of words in this zone.

source