Skip to main content

apply_x_simd

Function apply_x_simd 

Source
pub fn apply_x_simd(state: &mut Vec<Complex64>, target: usize, n_qubits: usize)
Expand description

Apply the Pauli-X (NOT) gate to qubit target using SIMD.

X = [[0, 1], [1, 0]]