Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate the exact distance of binary codes with brute force in cyth…
…on (#211) * add fast distance calculation for CSS codes with <= 64 qubits * remove exact distance from surface code * add pyx file forgotten before, also add > 64-qubit distance calculation * choose distance method based on qubit number * more distance calculations * use c++ * revert to using c and fix array bug * better test * only brute-force distance up to n=64 * add cython distance calculation * minor cleanup of _distance.pyx * add type hint * clean up build.py * nit rearrangement * typing fix * rename functions * ignore cython build artifacts * fix typo * fix typo * typing fix and remove test.py file * fix coverage * modify error message to accomodate classical codes * rename build.py to build-cython.py * formatting fix * add cython-lint options to pyproject.toml * nit variable rename * add calculation of distance for QuditCodes on <= 32 qubits * fix coverage * fix check for number of qubits * remove debugging artifact * typo fix * one more typo * rename get_gistance_subcode_64 to get_distance_sector_xz_64 * ctzll for gray code counter * remove leading underscore from functions not accessible to python * make rows_to_uint64 return a 2D array * typecast * type fix * add comments * add distance calculation for classical codes with arbitrary block lengths * fix bug in QuditCode distance calculation * add distance calculation for quantum codes with arbitrary block length * some code rearranging * balanced surface/toric codes * Revert "balanced surface/toric codes" This reverts commit 8d14312. * properly balance surface and toric codes * split off distance calculations by block length * fix QuditCode distance calculation * clean up weight_func construction * renaming and comments * add comment * bugfix in QuditCode distance * rename function * add cython-lint to pyproject.toml * more cleanup and helpful commenting * add 128-bit classical code distance * word * minor bugfix for balanced CSS codes and warnings about runtime * workflow update * add cython language_level * move language_level:3 and add comment * increase timeout limit for the installation check * fix string matching
- Loading branch information