openfermion.transforms.bravyi_kitaev_code

The Bravyi-Kitaev transform as binary code.

The implementation follows arXiv:1208.5986.

n_modes int

number of modes

Returns (BinaryCode): The Bravyi-Kitaev BinaryCode