Infleqtion / qLDPC

Tools for constructing and analyzing quantum low density parity check (qLDPC) codes.
Apache License 2.0
77 stars 7 forks source link

Change convention for logical operators #97

Closed perlinm closed 4 months ago

perlinm commented 4 months ago

For consistency with QuditCode.get_logical_ops, if code is a CSSCode, then code.logical_ops() will return an array of shape (2, code.dimension, 2 * code.num_qudits), where the first half (second half) of the last axis indicates the support of X-type (Z-type) physical operators. In particular, the first half (second half) should be all zeros for Z-type (X-type) logical operators of a CSSCode.

review-notebook-app[bot] commented 4 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB