cirq.ParallelGateOperation.transform_qubits

ParallelGateOperation.transform_qubits(func: Callable[cirq.Qid, cirq.Qid]) → TSelf

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.