Skip to main content

apply_s_simd

Function apply_s_simd 

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

Apply the S (phase) gate to qubit target using SIMD.

S = [[1, 0], [0, i]]