Skip to main content

apply_z_simd

Function apply_z_simd 

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

Apply the Pauli-Z gate to qubit target using SIMD.

Z = [[1, 0], [0, -1]]