We're celebrating World Quantum Day 2022! Join us

fqe.util.invert_bitstring_with_mask

Invert a bitstring with a mask.

string (bitstring) - the bitstring to invert masklen (int) - the value to mask the inverted bitstring to

(bitstring) - a bitstring inverted up to the masking length