bloqade.gemini.logical.move_to
← Module overview
function
source
functionmove_to¶source
bloqade.gemini.logical.move_to
def move_to(qubits, locations, multi_move_warning=True) -> NoneMove the given qubits to the specified LocationAddress destinations.
User-directed movement within a single zone; the compiler tracks where the
atoms end up, so a move_to may be followed by single-qubit gates,
another move_to, a CZ, or a terminal measurement. (Under palindrome
return moves the atoms are returned to their pre-move layout at the next CZ,
so in that mode a move_to must reach a CZ before any measurement.)
Compilation fails if the move is physically infeasible.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
qubits | — | required | |
locations | — | required | |
multi_move_warning | — | True |