Skip to main content

NativeGate

Type Alias NativeGate 

Source
pub type NativeGate = (String, Vec<f64>, Vec<usize>);
Expand description

A hardware-native gate: (name, angles, qubit_indices).

The name string identifies the gate in the target backend’s vocabulary (e.g. "cnot", "rx", "h"). angles holds rotation parameters (may be empty). qubit_indices lists the qubits the gate acts on.