bloqade.gemini.common.dialects.qubit.stmts.NewAt
← Module overview
class
classNewAt¶source
bloqade.gemini.common.dialects.qubit.stmts.NewAt
Bases: ir.Statement
Allocate a new qubit pinned to the given physical address.
class NewAtThe three int args MUST be compile-time constants (enforced by validation
in bloqade.gemini.analysis.new_at_validation). The constant values are
read by the circuit→place rewrite chain and stamped into
place.NewLogicalQubit.location_address.
Belongs to the gemini.common dialect so it can be used from both
logical and physical kernels.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
traits | — | frozenset({lowering.FromPythonCall()}) | |
zone_id | ir.SSAValue | info.argument(types.Int) | |
word_id | ir.SSAValue | info.argument(types.Int) | |
site_id | ir.SSAValue | info.argument(types.Int) | |
qubit | ir.ResultValue | info.result(QubitType) |