# cirq.Operation.transform_qubits¶

Operation.transform_qubits(func: Callable[cirq.ops.raw_types.Qid, cirq.ops.raw_types.Qid]) → TSelf_Operation[source]

Returns the same operation, but with different qubits.

Parameters: func – The function to use to turn each current qubit into a desired new qubit. The receiving operation but with qubits transformed by the given function.