Skip to main content

slice_yz_gate

Function slice_yz_gate 

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

Scalar slice version of yz_gate, applied in-place.

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