Skip to main content

slice_xy_gate

Function slice_xy_gate 

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

Scalar slice version of xy_gate, applied in-place.

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