Skip to content

Stmts

NewAt

Bases: Statement


              flowchart TD
              bloqade.gemini.common.dialects.qubit.stmts.NewAt[NewAt]

              

              click bloqade.gemini.common.dialects.qubit.stmts.NewAt href "" "bloqade.gemini.common.dialects.qubit.stmts.NewAt"
            

Allocate a new qubit pinned to the given physical address.

The 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.