apply_h_gate_simd

Function apply_h_gate_simd 

Source
pub fn apply_h_gate_simd(
    in_amps0: &[Complex64],
    in_amps1: &[Complex64],
    out_amps0: &mut [Complex64],
    out_amps1: &mut [Complex64],
)
Expand description

Apply Hadamard gate using SIMD-like operations

This is a specialized implementation for the Hadamard gate using the matrix: H = 1/√2 * [[1, 1], [1, -1]]