cirq.GateOperation.transform_qubits¶
-
GateOperation.transform_qubits(func: Callable[cirq.ops.raw_types.QubitId, cirq.ops.raw_types.QubitId]) → TSelf_Operation¶ Returns the same operation, but with different qubits.
Parameters: func – The function to use to turn each current qubit into a desired new qubit. Returns: - The receiving operation but with qubits transformed by the given
- function.