make_controlled

Function make_controlled 

Source
pub fn make_controlled<G: GateOp + 'static>(
    controls: Vec<QubitId>,
    gate: G,
) -> ControlledGate
Expand description

Helper function to create controlled version of any gate