bloqade.lanes.dialects.arch.cz_partner
← Module overview
function
source
functioncz_partner¶source
bloqade.lanes.dialects.arch.cz_partner
def cz_partner(address: LocationAddress) -> LocationAddressReturn the CZ blockade-partner location of address.
An atom placed at the returned location can be CZ-entangled with an atom
at address. Useful for staging a move_to onto a partner site
without hardcoding the arch’s word/site layout, e.g.::
move_to([q], [cz_partner(static_loc)])
address must resolve to a compile-time-constant location (the partner
is looked up in the architecture spec during compilation).
Parameters
| Name | Type | Description |
|---|---|---|
address | LocationAddress |
Returns
LocationAddress