diff --git a/pyproject.toml b/pyproject.toml index 74860c9d..e7b5be4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ requires-python = ">=3.9" dependencies = [ "z3-solver>=4.12", "qecsim", - "ldpc>=0.1.53,<2", # temporary upper cap due to failures seen with ldpc v2 + "ldpc>=2.1.9,<3", # temporary upper cap due to failures seen with ldpc v2 "numpy>=1.26; python_version > '3.11'", "numpy>=1.24; python_version <= '3.11'", "qiskit[qasm3-import]>=1.0.0", diff --git a/uv.lock b/uv.lock index beb195e7..48353214 100644 --- a/uv.lock +++ b/uv.lock @@ -1179,46 +1179,40 @@ wheels = [ [[package]] name = "ldpc" -version = "0.1.60" +version = "2.1.9" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "numpy" }, + { name = "pymatching" }, + { name = "pytest" }, { name = "scipy", version = "1.13.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, { name = "scipy", version = "1.14.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "sinter" }, + { name = "stim" }, { name = "tqdm" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/ef/f8/76b240cda917e1c25afacd6ddde86b3ad34bfb33da4e33df0c389e2c3bec/ldpc-0.1.60.tar.gz", hash = "sha256:06152fcce834c2d46ee04add2102e7d90f9c86617e04113ae84deba9e84f17ba", size = 374066 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/3a/93/dbc2b7d95e05f0066b61598e1d74dda322dee5a6542972b074c61cc61116/ldpc-0.1.60-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b17c58620d96c7003f4d5428d8199d7807446ff0e6fc0c39832affa967370243", size = 574114 }, - { url = "https://files.pythonhosted.org/packages/6e/cc/3b337f258e72e486924e6c5a5d723d0a03a81c0339f1ab5bbd7365a0788d/ldpc-0.1.60-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5103cce5713a338c7d2319ace5a555cfdefd9a33e81a4491c1e3973cc602bbad", size = 568538 }, - { url = "https://files.pythonhosted.org/packages/d1/31/4364f966bc834cfb7012b68debb65f75f2d78acbb4ead70c858330b2ce99/ldpc-0.1.60-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:28066a55b855de08da4a33c1349a486f79ee3e5f9883a42a14357320a71bf7e0", size = 1313121 }, - { url = "https://files.pythonhosted.org/packages/02/80/deec8a03cf75043d791db61240139ce57bd35d4d6172b1add1f7a6a1a3ee/ldpc-0.1.60-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:79e045cb7a03ec2d4eaf8405fe37f6f9b27c733a66de0f41a453a930b16a40d5", size = 1267499 }, - { url = "https://files.pythonhosted.org/packages/a2/36/ff2c26dc96fd33f124f080d90b4aa6540e792589213c6deadd1910a913df/ldpc-0.1.60-cp310-cp310-win32.whl", hash = "sha256:dd42d119a0bb1b8ff70088adfe4266ba5f8c5768e81d6db989e818abacc857db", size = 523302 }, - { url = "https://files.pythonhosted.org/packages/46/cb/ded17d77fbfb4a1e75270e93a5e7688252f76a05a773659835b61a767035/ldpc-0.1.60-cp310-cp310-win_amd64.whl", hash = "sha256:a29445a339b9069df96b2545cb9216034683ae85b5a5b59712c330327d320f23", size = 540886 }, - { url = "https://files.pythonhosted.org/packages/4a/9a/e4e6d70f7c1c2d4faf1bcd3b1666e183b24fd581a6169cacfb3dab6f3e03/ldpc-0.1.60-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:35c8326f6ad7d8017ba89ec9fb9c2b2fdfc3cdbefebaedc17423519bd70d1a71", size = 573517 }, - { url = "https://files.pythonhosted.org/packages/ad/77/383c6cdb2ef3818362a9654e6bafb5c7415c49f1fbb5c6dc9f988e8aa7b2/ldpc-0.1.60-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:411584c084470288d95737eb6de94cde2571459c15b880d9e8a4e552cd942393", size = 568029 }, - { url = "https://files.pythonhosted.org/packages/40/1a/b05618c9533b4c4d0de8be8f23a68b69e311110d0e7d7e9a23ccf8b65056/ldpc-0.1.60-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1896ef67af5be3998aebba5e0b6110dbd02b119fed2e6bdc5f2738d26eccb7ea", size = 1384062 }, - { url = "https://files.pythonhosted.org/packages/8a/24/0578140b2ed4c6ba3d56f03949c8e1a868c3060a240d9215b7665f637a5c/ldpc-0.1.60-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f83cda648d68998e98e817eae0e84b5057ebb3d6941db9855adf3f0286000bd5", size = 1341428 }, - { url = "https://files.pythonhosted.org/packages/19/34/955b40e8313817ad6853412f9207fdac5dfc94e061988554bf1b07345222/ldpc-0.1.60-cp311-cp311-win32.whl", hash = "sha256:eaa7fe7d813a1935908e4730605595c000f20efa3541f9ee0aa3cdb98c33de5f", size = 522250 }, - { url = "https://files.pythonhosted.org/packages/09/25/c7cbbc4089eac07b5b335735370192ed87268ad52374f3c73b137cc31082/ldpc-0.1.60-cp311-cp311-win_amd64.whl", hash = "sha256:18b721d0a25b4b149e8b5cdbd8cae7d327c9eb445bdfaa84878f4e7ee87702a5", size = 541363 }, - { url = "https://files.pythonhosted.org/packages/f7/a4/6d3b61e813ae14be8357ea6c5d182ae17147fb87ae7f7313a0ccae85880f/ldpc-0.1.60-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:85cd76ec06834bf4c1ccd69577328782e4cd7524f3cc15a92f220debabf86ce6", size = 573433 }, - { url = "https://files.pythonhosted.org/packages/48/fd/917f8ec5ace1eb1e666a6cf00981b029417822983daa1a72fbbdfa21fa43/ldpc-0.1.60-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3bf499917617fda559160635d49f88ff8402de0b10e82121087f3c5c081dac4a", size = 568160 }, - { url = "https://files.pythonhosted.org/packages/cf/54/74bab08c53059f94a1608eeb04f429efb5c1dd1d1d596de9f5a556bc44d9/ldpc-0.1.60-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9f101742220f52d5fcd7cbe282d26b924bbfe4823feaa01c2da2aa7aa54e0318", size = 1410814 }, - { url = "https://files.pythonhosted.org/packages/9d/d2/eb83817184d8e07f43b0f3c8a1928298282e8bd7cf59ca4c2e38719da248/ldpc-0.1.60-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bdecbf7aa294066e5f0cab4f2b257980ddab910899a654a930a35c3dbc769974", size = 1362258 }, - { url = "https://files.pythonhosted.org/packages/09/1c/75d0a99b6efa2b8fb3a59b26999ca74e532df4244691168c6f05532886b9/ldpc-0.1.60-cp312-cp312-win32.whl", hash = "sha256:d0c82887ede968b34eae89fe1ca8d98170586dfeefafee1bfee2f773d94469fe", size = 522158 }, - { url = "https://files.pythonhosted.org/packages/ea/ec/a1abad143c61f08b1bd6aff180a4e7030b2e782ac152b1f43c3a2b5dd784/ldpc-0.1.60-cp312-cp312-win_amd64.whl", hash = "sha256:2d3d422ba4d2d9b8a94f3beed4888f6daa7e61c779dc905a030c39afea4a8708", size = 541313 }, - { url = "https://files.pythonhosted.org/packages/6b/a7/e970595e94cfbfe6c66a6df0deff7425b754b2ac618eac0413c7055f0627/ldpc-0.1.60-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a108c65a00e8e064e627c09565e95b18ba9c9b7b309cfe1fa405285ef17d6832", size = 570176 }, - { url = "https://files.pythonhosted.org/packages/39/13/b4a8560d76c9b623facf7450ec6055a3ccab4905edcdf829d6d3c9d20f12/ldpc-0.1.60-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:42808fcf37ea58e2e61cc90c1f0dfe2326ef57f302ddbf80c9937963b7811159", size = 564834 }, - { url = "https://files.pythonhosted.org/packages/07/a8/f3c08e292c6dbf544a76a422cebeb1228d660663330c5202eca04719dd44/ldpc-0.1.60-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ccb020863d62b51553431cd7986a85c4f6a7024ed5f7992796db7ac38672023", size = 1398979 }, - { url = "https://files.pythonhosted.org/packages/7d/31/645b0f4e3f1ca1a493739d0de83c29321d53ab80127cee1910a89490679b/ldpc-0.1.60-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e32662918590b59fc16283e59f4be26f6011b16bc966de3eff93664a6a6eb858", size = 1353581 }, - { url = "https://files.pythonhosted.org/packages/fa/50/dc4bd6efac99fa817f18a5501dbfc4b35daa7f40aad76de038a19d664e8d/ldpc-0.1.60-cp313-cp313-win32.whl", hash = "sha256:cb56fbfc2dc6ee3c13ead819c9c9c18d6aa6025b21cf583fd5ac29c7fa2492bc", size = 521161 }, - { url = "https://files.pythonhosted.org/packages/e1/d8/f38f4c323beb2124880d9672668759a1c23185a4769b87144a001bb8022a/ldpc-0.1.60-cp313-cp313-win_amd64.whl", hash = "sha256:f277ea524ab80c59dc6ee6a95373e91b9fcae63abbb0f3979998d5aa6f608cf9", size = 540076 }, - { url = "https://files.pythonhosted.org/packages/51/30/4c4ebe5dae12a475c0f04ffcd24891ba58910a5fa4748b8fc73c522ffe6c/ldpc-0.1.60-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c14cc88df29208a5d538e9d64567d27c2994dc2e8030eecd7f9c35aa5ff1da0e", size = 575952 }, - { url = "https://files.pythonhosted.org/packages/3b/3c/22b6dc6fefd6b59f2edaa20b21190058f3d17cf30b7b19d2fb25cc3c6434/ldpc-0.1.60-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:dde97f0d18a2c84bb7c6ef29f753e56a8114e7b49b7d11f34aa1bde2f3b4db43", size = 570238 }, - { url = "https://files.pythonhosted.org/packages/fc/80/256b6e3799635534b0aada94d75d2b01cf1db932e3e06c57982fade30982/ldpc-0.1.60-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e6241d9b34488323df07dfc10ddbb218098cb29c4329ab2b6aab214f2467a0dc", size = 1321533 }, - { url = "https://files.pythonhosted.org/packages/4f/71/792c4c007219c26b69c72f00a340f227513f9eec9fc7b68d7a5cd1c987b5/ldpc-0.1.60-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1456605f3abdb34f05ecbe7496c7847546caa70801e875e01120791abd558cc2", size = 1276065 }, - { url = "https://files.pythonhosted.org/packages/41/f8/b68c9c801519eeac44542ed751feec49962249dd16e8973548403b00eb12/ldpc-0.1.60-cp39-cp39-win32.whl", hash = "sha256:8f0870b6c07894ec55917180f6b6898180a28a2368be202c684229fa2269eeb5", size = 525169 }, - { url = "https://files.pythonhosted.org/packages/c9/0b/1db19bcfb798464d5eee91eb87aa309bac694171c20e444cc8e2bc6b8af6/ldpc-0.1.60-cp39-cp39-win_amd64.whl", hash = "sha256:e9a1f26465b95d5b732c3dbdaf1556275c34fc4b115aef40a9e3b3d99bbf460a", size = 542584 }, +sdist = { url = "https://files.pythonhosted.org/packages/c0/51/b4b3cb38d051bee044d0ad0078fa7185ee8fdb27d5acf031fa9d1da14b54/ldpc-2.1.9.tar.gz", hash = "sha256:ee6e0c1dbfe83325749d645aca6932883a90c35ba2414e492796b174df3edf11", size = 873287 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/59/6f/e0b5faf91a8fc749d1e6d0c3c571eb84b41f31dec18e9469573d1f8a400e/ldpc-2.1.9-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:fcd285602ed38951495766e8a1e1d5336fac587ef0981bbdb26a4c8cb35d48c1", size = 1556919 }, + { url = "https://files.pythonhosted.org/packages/02/27/9786982d2579a1ebe1d1262faa9d181fd67f9a3adcd7418c86f369b1fc21/ldpc-2.1.9-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e0e20dda536a9ffdd922a04730a8ea19176d60d27d3e27c13d997472dd4547e1", size = 1512319 }, + { url = "https://files.pythonhosted.org/packages/64/0e/015a139d1c1da842d6639e635bf88023124ad24ff12491e9e87d8f2b832d/ldpc-2.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9de9dfdb536dff5ed5663326491bb481c15151add3908fd853faa004a9e6bb3a", size = 6825658 }, + { url = "https://files.pythonhosted.org/packages/2a/b7/a8f274d570fa3c2b5913da7356ded62bbd4c05df059828d6188e807b60fe/ldpc-2.1.9-cp310-cp310-win_amd64.whl", hash = "sha256:daa16cf1e8648b83ab73982ddcc92d062738c52f7f7d5b220127a350491f5f5a", size = 1454489 }, + { url = "https://files.pythonhosted.org/packages/f1/85/6a6d335a5f73eaa2d76a8ca93de125910f2d7d67236d056067f9daad14e3/ldpc-2.1.9-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ad3c12a505165b4e21698244856fddd941efbe254b1a526b0c47a334e92b3876", size = 1557131 }, + { url = "https://files.pythonhosted.org/packages/8d/89/136afad75595f9eb7f2555717ec2c8f07b6e8a7c1bb1b89cc2e0d6c1b498/ldpc-2.1.9-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:19da2b76a16250b33f00b7fb19d761a99a5efe6351ea672e70df6b30c0fc72db", size = 1511826 }, + { url = "https://files.pythonhosted.org/packages/1b/c0/14dd7b1e3444ee22b76b83d0ca5169ed41c7d78be2850e0933f1553d9581/ldpc-2.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:82fd1d02223d13123d4efef97ae55f52820b9fcbbf88a2209964b2f2823bf074", size = 6948207 }, + { url = "https://files.pythonhosted.org/packages/f1/3e/4442d6a17d3be9bc9368b8bd98164057ffeb3eff10af1e1c20ef34830246/ldpc-2.1.9-cp311-cp311-win_amd64.whl", hash = "sha256:682fecec1d10486bfb8029b917305bb7a25a9ee6d4854d0ac233619665febd59", size = 1455664 }, + { url = "https://files.pythonhosted.org/packages/20/ae/4c02f7afed03095cd89f3424676f45c5793e8c9b72467c1e73dd5af526b8/ldpc-2.1.9-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b8ab927a6a8b69751c059036f189f6d95b8128a44d9aefb58551e8089e8658ca", size = 1555938 }, + { url = "https://files.pythonhosted.org/packages/03/24/d32045b956d90d4728926547e5a1e81c09f9617932d3916a66f5856c9137/ldpc-2.1.9-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a510b209a1c02ad2785302752be5f6c0d5136d0ef40d0de2e803f175ca54e37b", size = 1512363 }, + { url = "https://files.pythonhosted.org/packages/4f/ab/b76d2c8aebc57cb7cfc347a340efe4cab865b567dbd2fb8c1f7e406d9c9e/ldpc-2.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:734c28b0810b1c5836ec59320860dd22e4dd460e919bdf06d3de21bf335fbe21", size = 6894731 }, + { url = "https://files.pythonhosted.org/packages/da/a8/78205aace26ecd3c4e4338082365db3ed6888de33553f917c7e601fb3cc6/ldpc-2.1.9-cp312-cp312-win_amd64.whl", hash = "sha256:8e1ff2ad340da82abe7c9ccc6c15672417791726d34897ac44442f4d7352366f", size = 1451226 }, + { url = "https://files.pythonhosted.org/packages/e1/ca/b536e4f09cf27f0ab48182c6dd32219957cbebd1685707c40e5f734f7d6a/ldpc-2.1.9-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:bf0851aed3982c82e10b96f66187113d0982aaec48a0f023931d30657ce25169", size = 1546113 }, + { url = "https://files.pythonhosted.org/packages/a3/58/5e716177e09bf15285a57e9212e6f7c3201d38907339fea75f0a582d42f1/ldpc-2.1.9-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b542b3110ccf110ebedef17313103b4fd22dbfe72f2357f7379b4998548e6b1e", size = 1503380 }, + { url = "https://files.pythonhosted.org/packages/cf/b5/34b738bf1c24017fd0163f95fb3f9d984e6b728a4f3648ea9d97c2a84b82/ldpc-2.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:525b510874df5e05e8748e8dc103b2502229ee71285119ff7297469b1c558ba9", size = 6875642 }, + { url = "https://files.pythonhosted.org/packages/1e/8f/10d2c599fac72fafeb4e359672b81d338e756abaa245716ac42b5217dbfd/ldpc-2.1.9-cp313-cp313-win_amd64.whl", hash = "sha256:572653dc71859c78843080c84e8cbd4a91d2a5a4b3882648f0d1190f8d0fb15a", size = 1447764 }, + { url = "https://files.pythonhosted.org/packages/6a/17/ec583a98752e319b3a902a5585729e0e5af0322968fd8a766417b308f74c/ldpc-2.1.9-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c127719f2071497324bbed6dae613c7d76c430118883c549e26be1c96e1b8a4d", size = 1561447 }, + { url = "https://files.pythonhosted.org/packages/13/8a/0209dd504c8e9d073f411811d8f286d3970eb5b9ffa72ca1c27755cbe184/ldpc-2.1.9-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:760a1e5cc466605ac0f2488b6d0968c891666477114e719be909287ae7ebf8c5", size = 1516710 }, + { url = "https://files.pythonhosted.org/packages/87/e4/4feb2b512a35ab58c197c74c0d615fc79d19bb1c5c788cb02892c3b0a481/ldpc-2.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a1ef721f291bebc400968e4e1328409ff7b21f836622e9cd45bffd84915948a", size = 6846799 }, + { url = "https://files.pythonhosted.org/packages/e9/4c/62ffadbf668abe8c8560d23aa7895388222c6b10a855a43406bc73e2fbbc/ldpc-2.1.9-cp39-cp39-win_amd64.whl", hash = "sha256:4d584a4550444ee866d8fbad2fbc18a24777cf8dd0d776923c59904bfad1a2e5", size = 1458825 }, ] [[package]] @@ -1472,7 +1466,7 @@ wheels = [ [[package]] name = "mqt-qecc" -version = "1.8.3.dev27+g9eb1f23" +version = "1.8.3.dev28+g3a612db.d20241230" source = { editable = "." } dependencies = [ { name = "bposd" }, @@ -1548,7 +1542,7 @@ requires-dist = [ { name = "fastcore", specifier = ">=1.7.10" }, { name = "furo", marker = "extra == 'docs'", specifier = ">=2023.9.10" }, { name = "ipykernel", marker = "extra == 'docs'" }, - { name = "ldpc", specifier = ">=0.1.53,<2" }, + { name = "ldpc", specifier = ">=2.1.9,<3" }, { name = "matplotlib", marker = "extra == 'visualization'" }, { name = "mqt-qecc", extras = ["coverage", "docs", "visualization"], marker = "extra == 'dev'" }, { name = "mqt-qecc", extras = ["test"], marker = "extra == 'coverage'" }, @@ -2851,6 +2845,20 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a0/e9/e58082fbb8cecbb6fb4133033c40cc50c248b1a331582be3a0f39138d65b/simpleeval-1.0.3-py3-none-any.whl", hash = "sha256:e3bdbb8c82c26297c9a153902d0fd1858a6c3774bf53ff4f134788c3f2035c38", size = 15762 }, ] +[[package]] +name = "sinter" +version = "1.14.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "matplotlib", version = "3.9.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, + { name = "matplotlib", version = "3.10.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy" }, + { name = "scipy", version = "1.13.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, + { name = "scipy", version = "1.14.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "stim" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/cf/47/4968b5c570d03c116c475b18420cfe8d2ae15a2449016d6852e3f92a131f/sinter-1.14.0.tar.gz", hash = "sha256:b40498d9bb7752e28a18bcc06875b34f45befc9f957d7c51c240a37124e8c4d3", size = 174330 } + [[package]] name = "six" version = "1.17.0"