Skip to main content

apply_h_simd

Function apply_h_simd 

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

Apply the Hadamard gate H to qubit target using SIMD.

H = (1/√2) [[1, 1], [1, -1]]