quri_parts.circuit.utils.controlled_rotations module#

add_controlled_RX_gate(circuit, control_index, target_index, param_fn)#

Add a controlled-RX gate to the given circuit.

Parameters:
Return type:

LinearMappedUnboundParametricQuantumCircuit

add_controlled_RY_gate(circuit, control_index, target_index, param_fn)#

Add a controlled-RY gate to the given circuit.

Parameters:
Return type:

LinearMappedUnboundParametricQuantumCircuit