Skip to content

bloqade.gemini.common.dialects.arrange.move_to

← Module overview

functionmove_tosource

bloqade.gemini.common.dialects.arrange.move_to

def move_to(qubits, locations, multi_move_warning=True) -> None

Move 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

NameTypeDefaultDescription
qubits—required
locations—required
multi_move_warning—True
source