codedistance 0.0.2__tar.gz → 0.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {codedistance-0.0.2 → codedistance-0.0.3}/PKG-INFO +21 -10
- {codedistance-0.0.2 → codedistance-0.0.3}/README.md +20 -9
- {codedistance-0.0.2 → codedistance-0.0.3}/pyproject.toml +1 -1
- {codedistance-0.0.2 → codedistance-0.0.3}/LICENSE +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/codedistance/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/codedistance/NHow.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/codedistance/__init__.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/codedistance/code_library.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/codedistance/common.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/codedistance/complex_utils.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/codedistance/dem_detector_filtering.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/codedistance/distance.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/BB_codes.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/QT_codes.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/__init__.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/bivariate_bicycle.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/codeTables/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/codeTables/GF2_32.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/codeTables/GF2_64.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/codeTables/GF2_sample.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/codeTables/QECC_32.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/codeTables/QECC_64.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/codeTables/QECC_sample.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/exampleCSS.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/exampleCircuit.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/exampleQECC.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/hyperbolic_codes/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/hyperbolic_codes/RG-3-10.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/hyperbolic_codes/RG-3-12.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/hyperbolic_codes/RG-3-8.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/lifted_product.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/bivariate_bicycle-QDistEvol-20260303_210332.141939_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-GF2_sample.txt-MeetMiddleMW-20260304_083616.219679_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-GF2_sample.txt-qubitserfBZ-20260304_083638.643376_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-DistRndGAP-20260303_211748.394245_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-GurobiDist-20260303_211844.251513_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-GurobiDist-20260303_211911.716534_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-MIPDist-SCIP-20260303_211946.657395_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-MeetMiddleMW-20260303_212209.934872_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-QDistRndMW-20260303_211826.240534_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-UndetectableErrorStim-20260303_212112.912496_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-connectedClusterMW-20260303_212134.502322_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-decoderDist-bposd-20260303_212055.599668_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-dist_m4ri_CC-20260303_210717.918454_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-dist_m4ri_CC-20260303_210957.256357_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-dist_m4ri_CC-20260303_211603.125645_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-dist_m4ri_RW-20260303_211225.834639_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-dist_m4ri_RW-20260303_211438.341279_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-dist_m4ri_RW-20260303_211500.216780_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-dist_m4ri_RW-20260303_211534.542039_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-magmaMinWeight-20260303_211626.143623_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-pySATDist-20260303_212037.393486_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/codeTables-QECC_sample.txt-qubitserfBZ-20260303_212154.339830_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/results/stim_circuit-01_surfacecodes-dist_m4ri_RW-20260304_085623.931043_85062422.txt +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/runDistanceTest.sh +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/runTest.py +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/01_surfacecodes/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/01_surfacecodes/01_r=3,d=3,p=0.0005,noise=si1000,c=surface_code_Z,q=17,gates=cz.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/01_surfacecodes/02_r=5,d=5,p=0.0005,noise=si1000,c=surface_code_Z,q=49,gates=cz.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/01_surfacecodes/03_r=7,d=7,p=0.0005,noise=si1000,c=surface_code_Z,q=97,gates=cz.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/01_surfacecodes/04_r=9,d=9,p=0.0005,noise=si1000,c=surface_code_Z,q=161,gates=cz.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/01_surfacecodes/05_r=11,d=11,p=0.0005,noise=si1000,c=surface_code_Z,q=241,gates=cz.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/03_colorcodes_midout/01_r=3,d=3,p=0.0005,noise=uniform,c=midout_color_code_Z,q=9,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/03_colorcodes_midout/02_r=5,d=5,p=0.0005,noise=uniform,c=midout_color_code_Z,q=23,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/03_colorcodes_midout/03_r=7,d=7,p=0.0005,noise=uniform,c=midout_color_code_Z,q=43,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/03_colorcodes_midout/04_r=9,d=9,p=0.0005,noise=uniform,c=midout_color_code_Z,q=69,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/03_colorcodes_midout/05_r=11,d=11,p=0.0005,noise=uniform,c=midout_color_code_Z,q=101,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/04_colorcodes_superdense/01_r=3,d=3,p=0.0005,noise=uniform,c=superdense_color_code_Z,q=13,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/04_colorcodes_superdense/02_r=5,d=5,p=0.0005,noise=uniform,c=superdense_color_code_Z,q=37,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/04_colorcodes_superdense/03_r=7,d=7,p=0.0005,noise=uniform,c=superdense_color_code_Z,q=73,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/04_colorcodes_superdense/04_r=9,d=9,p=0.0005,noise=uniform,c=superdense_color_code_Z,q=121,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/04_colorcodes_superdense/05_r=11,d=11,p=0.0005,noise=uniform,c=superdense_color_code_Z,q=181,gates=all.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/04_colorcodes_superdense/06_r=1,d=15,p=0.161473,noise=data_qubit_X,c=color_code_mpp,q=169,gates=mpp.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/05_bivariatebicyclecodes/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/05_bivariatebicyclecodes/01_r=6,d=6,p=0.009,noise=si1000,c=bivariate_bicycle_Z,nkd=[[72,12,6]],q=144,iscolored=True,A_poly=x^3+y+y^2,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/05_bivariatebicyclecodes/02_r=10,d=10,p=0.009,noise=si1000,c=bivariate_bicycle_Z,nkd=[[90,8,10]],q=180,iscolored=True,A_poly=x^9+y+y^2,B_poly=x^7+1+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/05_bivariatebicyclecodes/03_r=10,d=10,p=0.009,noise=si1000,c=bivariate_bicycle_Z,nkd=[[108,8,10]],q=216,iscolored=True,A_poly=x^3+y+y^2,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/05_bivariatebicyclecodes/04_r=12,d=12,p=0.009,noise=si1000,c=bivariate_bicycle_Z,nkd=[[144,12,12]],q=288,iscolored=True,A_poly=x^3+y+y^2,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/05_bivariatebicyclecodes/05_r=18,d=18,p=0.009,noise=si1000,c=bivariate_bicycle_Z,nkd=[[288,12,18]],q=576,iscolored=True,A_poly=x^3+y^2+y^7,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/05_bivariatebicyclecodes/06_r=24,d=24,p=0.009,noise=si1000,c=bivariate_bicycle_Z,nkd=[[360,12,24]],q=720,iscolored=True,A_poly=x^9+y+y^2,B_poly=y^3+x^25+x^26.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/05_bivariatebicyclecodes/07_r=34,d=34,p=0.009,noise=si1000,c=bivariate_bicycle_Z,nkd=[[756,16,34]],q=1512,iscolored=True,A_poly=x^3+y^10+y^17,B_poly=y^5+x^3+x^19.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/06_bivariatebicyclecodes_nlr5wb/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/06_bivariatebicyclecodes_nlr5wb/01_r=6,d=6,p=0.009,noise=nlr5wb,c=bivariate_bicycle_Z,k=12,q=144,iscolored=True,A_poly=x^3+y+y^2,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/06_bivariatebicyclecodes_nlr5wb/02_r=10,d=10,p=0.009,noise=nlr5wb,c=bivariate_bicycle_Z,k=8,q=180,iscolored=True,A_poly=x^9+y+y^2,B_poly=x^7+1+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/06_bivariatebicyclecodes_nlr5wb/03_r=10,d=10,p=0.009,noise=nlr5wb,c=bivariate_bicycle_Z,k=8,q=216,iscolored=True,A_poly=x^3+y+y^2,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/06_bivariatebicyclecodes_nlr5wb/04_r=12,d=12,p=0.009,noise=nlr5wb,c=bivariate_bicycle_Z,k=12,q=288,iscolored=True,A_poly=x^3+y+y^2,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/06_bivariatebicyclecodes_nlr5wb/05_r=18,d=18,p=0.009,noise=nlr5wb,c=bivariate_bicycle_Z,k=12,q=576,iscolored=True,A_poly=x^3+y^2+y^7,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/06_bivariatebicyclecodes_nlr5wb/06_r=24,d=24,p=0.009,noise=nlr5wb,c=bivariate_bicycle_Z,k=12,q=720,iscolored=True,A_poly=x^9+y+y^2,B_poly=y^3+x^25+x^26.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/06_bivariatebicyclecodes_nlr5wb/07_r=34,d=34,p=0.009,noise=nlr5wb,c=bivariate_bicycle_Z,k=16,q=1512,iscolored=True,A_poly=x^3+y^10+y^17,B_poly=y^5+x^3+x^19.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/07_bivariatebicyclecodes_nlr10wb/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/07_bivariatebicyclecodes_nlr10wb/01_r=6,d=6,p=0.009,noise=nlr10wb,c=bivariate_bicycle_Z,k=12,q=144,iscolored=True,A_poly=x^3+y+y^2,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/07_bivariatebicyclecodes_nlr10wb/02_r=10,d=10,p=0.009,noise=nlr10wb,c=bivariate_bicycle_Z,k=8,q=180,iscolored=True,A_poly=x^9+y+y^2,B_poly=x^7+1+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/07_bivariatebicyclecodes_nlr10wb/03_r=10,d=10,p=0.009,noise=nlr10wb,c=bivariate_bicycle_Z,k=8,q=216,iscolored=True,A_poly=x^3+y+y^2,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/07_bivariatebicyclecodes_nlr10wb/04_r=12,d=12,p=0.009,noise=nlr10wb,c=bivariate_bicycle_Z,k=12,q=288,iscolored=True,A_poly=x^3+y+y^2,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/07_bivariatebicyclecodes_nlr10wb/05_r=18,d=18,p=0.009,noise=nlr10wb,c=bivariate_bicycle_Z,k=12,q=576,iscolored=True,A_poly=x^3+y^2+y^7,B_poly=y^3+x+x^2.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/07_bivariatebicyclecodes_nlr10wb/06_r=24,d=24,p=0.009,noise=nlr10wb,c=bivariate_bicycle_Z,k=12,q=720,iscolored=True,A_poly=x^9+y+y^2,B_poly=y^3+x^25+x^26.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/07_bivariatebicyclecodes_nlr10wb/07_r=34,d=34,p=0.009,noise=nlr10wb,c=bivariate_bicycle_Z,k=16,q=1512,iscolored=True,A_poly=x^3+y^10+y^17,B_poly=y^5+x^3+x^19.stim +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/README.md +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/.DS_Store +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_108_2_12.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_144_2_13.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_180_2_17.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_216_4_18.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_252_2_21.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_288_2_24.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_324_4_25.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_360_4_24.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_36_8_4.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_396_4_26.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_432_8_33.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_468_4_31.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_496_2_32.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_504_2_45.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_540_4_40.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_576_2_57.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_576_2_59.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_612_2_52.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_648_10_71.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_648_14_50.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_684_2_29.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HX_72_8_8.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_108_2_12.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_144_2_13.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_180_2_17.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_216_4_18.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_252_2_21.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_288_2_24.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_324_4_25.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_360_4_24.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_36_8_4.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_396_4_26.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_432_8_33.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_468_4_31.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_496_2_32.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_504_2_45.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_540_4_40.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_576_2_57.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_576_2_59.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_612_2_52.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_648_10_71.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_648_14_50.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_684_2_29.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tanner_codes/HZ_72_8_8.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211550.461468_85062422H.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211550.461468_85062422L.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211550.463575_44088179.stdout +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211609.373972_85062422H.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211609.373972_85062422L.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211609.375508_00717477.stdout +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211632.978435_00404018.stdout +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211807.002810_13674611.g +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211807.002810_13674611H.mtx +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211807.003731_32355872.stdout +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_212039.803682_85062422.wcnf +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_212039.804165_58423964.stdout +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_212158.101738_32352392.stderr +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_212158.101738_32352392.stdout +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260304_083641.372186_71140661.stderr +0 -0
- {codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260304_083641.372186_71140661.stdout +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codedistance
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Code and Circuit Distance Algorithms.
|
|
5
5
|
License: GNUv3
|
|
6
6
|
License-File: LICENSE
|
|
@@ -68,14 +68,6 @@ The main inputs to these functions are:
|
|
|
68
68
|
|
|
69
69
|
These are described in more detail below.
|
|
70
70
|
|
|
71
|
-
# Running Datasets from the Paper
|
|
72
|
-
The datasets used in the paper are saved in the examples subfolder.
|
|
73
|
-
As each dataset may have many codes/circuits, the recommended way to run these is via the batch script runTest.py (also within the examples subfolder).
|
|
74
|
-
The distance-finding results for the data set are saved in a text file within the examples/results folder.
|
|
75
|
-
For example, to find distances of the non-CSS codetables dataset using the QDistEvol function, open a terminal window, navigate/change directory to the examples folder then run the following command via a terminal:
|
|
76
|
-
|
|
77
|
-
python3 runTest.py --dataset codeTables --datafile QECC_sample.txt --method QDistEvol
|
|
78
|
-
|
|
79
71
|
# Input Formats for Codes and Circuits
|
|
80
72
|
The form of the input code/circuit depends on the function called.
|
|
81
73
|
|
|
@@ -85,11 +77,21 @@ To indicate that H is in two block form, set tB=2. The tB notation is used throu
|
|
|
85
77
|
|
|
86
78
|
L can optionally be excluded or set to None. This would be the case for classical codes or where we have not yet calculated a logical basis. For instance, where H is a two-block matrix representing a non-CSS code, a logical basis is calculated if required by the distance-finding method.
|
|
87
79
|
|
|
88
|
-
For CSScodeDistance
|
|
80
|
+
For CSScodeDistance binary matrices Hx and Hz are used to represent the X and Z checks respectively. These do not need to be full rank, and can be an over-complete generating set.
|
|
89
81
|
The component input to this function can be set to 'Z' to find Z-distance (the default setting) or 'X' for X-distance.
|
|
90
82
|
|
|
91
83
|
For circuitDistance, the circuit qc should be provided in Stim format.
|
|
92
84
|
|
|
85
|
+
# Output Format
|
|
86
|
+
The three main functions return a python dictionary with the following fields:
|
|
87
|
+
- n: length of the code/circuit
|
|
88
|
+
- k: number of logicals/observables
|
|
89
|
+
- d: minimum distance estimate
|
|
90
|
+
- L: example of a logical or codeword with weight d in binary form
|
|
91
|
+
- T: the number of trials conducted (eg for QDistRnd or syndrome decoder methods)
|
|
92
|
+
- R: the number of trials which gave the distance estimate d
|
|
93
|
+
- progress: status information output by the method during processing
|
|
94
|
+
|
|
93
95
|
# Distance-Finding Methods
|
|
94
96
|
The distance-finding methods available in the package are as follows:
|
|
95
97
|
|
|
@@ -129,6 +131,15 @@ The distance-finding methods available in the package are as follows:
|
|
|
129
131
|
- qubitserfMM: wrapper to C library implementation of https://github.com/qubitserfed/Qubitserf
|
|
130
132
|
- MeetMiddleMW: python implementation of algorithm set out in https://github.com/qiskit-community/qiskit-qec/blob/main/docs/tutorials/QEC_Framework_IEEE_2022.ipynb
|
|
131
133
|
|
|
134
|
+
|
|
135
|
+
# Running Datasets from the Paper
|
|
136
|
+
The datasets used in the paper are saved in the examples subfolder https://github.com/m-webster/codeDistancePYPI/tree/main/examples.
|
|
137
|
+
As each dataset may have many codes/circuits, the recommended way to run these is via the batch script runTest.py (also within the examples subfolder).
|
|
138
|
+
The distance-finding results for the data set are saved in a text file within the examples/results folder.
|
|
139
|
+
For example, to find distances of the non-CSS codetables dataset using the QDistEvol function, open a terminal window, navigate/change directory to the examples folder then run the following command via a terminal:
|
|
140
|
+
|
|
141
|
+
python3 runTest.py --dataset codeTables --datafile QECC_sample.txt --method QDistEvol
|
|
142
|
+
|
|
132
143
|
# Parameters for Distance-Finding Methods
|
|
133
144
|
Here we lay out the main parameter settings used for various distance-finding methods:
|
|
134
145
|
|
|
@@ -31,14 +31,6 @@ The main inputs to these functions are:
|
|
|
31
31
|
|
|
32
32
|
These are described in more detail below.
|
|
33
33
|
|
|
34
|
-
# Running Datasets from the Paper
|
|
35
|
-
The datasets used in the paper are saved in the examples subfolder.
|
|
36
|
-
As each dataset may have many codes/circuits, the recommended way to run these is via the batch script runTest.py (also within the examples subfolder).
|
|
37
|
-
The distance-finding results for the data set are saved in a text file within the examples/results folder.
|
|
38
|
-
For example, to find distances of the non-CSS codetables dataset using the QDistEvol function, open a terminal window, navigate/change directory to the examples folder then run the following command via a terminal:
|
|
39
|
-
|
|
40
|
-
python3 runTest.py --dataset codeTables --datafile QECC_sample.txt --method QDistEvol
|
|
41
|
-
|
|
42
34
|
# Input Formats for Codes and Circuits
|
|
43
35
|
The form of the input code/circuit depends on the function called.
|
|
44
36
|
|
|
@@ -48,11 +40,21 @@ To indicate that H is in two block form, set tB=2. The tB notation is used throu
|
|
|
48
40
|
|
|
49
41
|
L can optionally be excluded or set to None. This would be the case for classical codes or where we have not yet calculated a logical basis. For instance, where H is a two-block matrix representing a non-CSS code, a logical basis is calculated if required by the distance-finding method.
|
|
50
42
|
|
|
51
|
-
For CSScodeDistance
|
|
43
|
+
For CSScodeDistance binary matrices Hx and Hz are used to represent the X and Z checks respectively. These do not need to be full rank, and can be an over-complete generating set.
|
|
52
44
|
The component input to this function can be set to 'Z' to find Z-distance (the default setting) or 'X' for X-distance.
|
|
53
45
|
|
|
54
46
|
For circuitDistance, the circuit qc should be provided in Stim format.
|
|
55
47
|
|
|
48
|
+
# Output Format
|
|
49
|
+
The three main functions return a python dictionary with the following fields:
|
|
50
|
+
- n: length of the code/circuit
|
|
51
|
+
- k: number of logicals/observables
|
|
52
|
+
- d: minimum distance estimate
|
|
53
|
+
- L: example of a logical or codeword with weight d in binary form
|
|
54
|
+
- T: the number of trials conducted (eg for QDistRnd or syndrome decoder methods)
|
|
55
|
+
- R: the number of trials which gave the distance estimate d
|
|
56
|
+
- progress: status information output by the method during processing
|
|
57
|
+
|
|
56
58
|
# Distance-Finding Methods
|
|
57
59
|
The distance-finding methods available in the package are as follows:
|
|
58
60
|
|
|
@@ -92,6 +94,15 @@ The distance-finding methods available in the package are as follows:
|
|
|
92
94
|
- qubitserfMM: wrapper to C library implementation of https://github.com/qubitserfed/Qubitserf
|
|
93
95
|
- MeetMiddleMW: python implementation of algorithm set out in https://github.com/qiskit-community/qiskit-qec/blob/main/docs/tutorials/QEC_Framework_IEEE_2022.ipynb
|
|
94
96
|
|
|
97
|
+
|
|
98
|
+
# Running Datasets from the Paper
|
|
99
|
+
The datasets used in the paper are saved in the examples subfolder https://github.com/m-webster/codeDistancePYPI/tree/main/examples.
|
|
100
|
+
As each dataset may have many codes/circuits, the recommended way to run these is via the batch script runTest.py (also within the examples subfolder).
|
|
101
|
+
The distance-finding results for the data set are saved in a text file within the examples/results folder.
|
|
102
|
+
For example, to find distances of the non-CSS codetables dataset using the QDistEvol function, open a terminal window, navigate/change directory to the examples folder then run the following command via a terminal:
|
|
103
|
+
|
|
104
|
+
python3 runTest.py --dataset codeTables --datafile QECC_sample.txt --method QDistEvol
|
|
105
|
+
|
|
95
106
|
# Parameters for Distance-Finding Methods
|
|
96
107
|
Here we lay out the main parameter settings used for various distance-finding methods:
|
|
97
108
|
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "codedistance"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.3"
|
|
8
8
|
description = "Code and Circuit Distance Algorithms."
|
|
9
9
|
license = "GNUv3"
|
|
10
10
|
authors = ["Mark Webster <mark.acacia@gmail.com>","Abraham Jacob <abraham.jacob.17@ucl.ac.uk>","Oscar Higgott <oscarhiggott@google.com>"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/stim_circuits/05_bivariatebicyclecodes/.DS_Store
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211550.463575_44088179.stdout
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211609.375508_00717477.stdout
RENAMED
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211632.978435_00404018.stdout
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_211807.003731_32355872.stdout
RENAMED
|
File without changes
|
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_212039.804165_58423964.stdout
RENAMED
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_212158.101738_32352392.stderr
RENAMED
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260303_212158.101738_32352392.stdout
RENAMED
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260304_083641.372186_71140661.stderr
RENAMED
|
File without changes
|
{codedistance-0.0.2 → codedistance-0.0.3}/examples/tmp/20260304_083641.372186_71140661.stdout
RENAMED
|
File without changes
|