Skip to main content

apply_gate

Function apply_gate 

Source
pub fn apply_gate(
    register: &QuantumRegister,
    gate: &QuantumGate,
    target_qubits: &[usize],
) -> QuantumRegister
Expand description

Apply a gate to specific target qubits in a register.