Microsoft.Quantum.Extensions.Bitwise

Functions

And

Returns the bitwise AND of two integers.

Not

Returns the bitwise NOT of an integer.

Or

Returns the bitwise OR of two integers.

Parity

Returns the bitwise PARITY of an integer (1 if its binary representation contains odd number of ones and 0 otherwise).

XBits

Returns an integer representing the X bits of an array of Pauli operators.

Xor

Returns the bitwise exclusive-OR (XOR) of two integers.

ZBits

Returns an integer representing the Z bits of an array of Pauli operators.