Skip to main content

slice_xx_gate

Function slice_xx_gate 

Source
pub fn slice_xx_gate(
    zs0: &mut [u64],
    xs0: &mut [u64],
    zs1: &mut [u64],
    xs1: &mut [u64],
    signs: &mut [u64],
)
Expand description

Scalar slice version of xx_gate, applied in-place.

See xx_gate for the Pauli transformation and sign-flip logic.