Function x_gate
Source pub fn x_gate<T: BitOps>(z: T, _x: T) -> T
Expand description
Apply X gate (X P X) on bit-packed Pauli operators.
This function transforms Pauli operators:
§Arguments
z - A T containing the Z component bits of the packed Pauli operators.
x - A T containing the X component bits of the packed Pauli operators.
§Returns
The sign flip bits.