qcode / reference /known_answer_gate.json
menik1126's picture
Publish expert-readable QLDPC search snapshot
c760ceb verified
Raw
History Blame Contribute Delete
5.66 kB
{
"schema_version": 1,
"gate": "qldpc-known-answer-baselines",
"challenge_source": "https://gist.github.com/ShuxiangCao/aa35ff78f403ed7ab730e36e165c3cf1",
"generated_at": "2026-07-23T07:56:03.832227+00:00",
"method": {
"distance": "scipy.optimize.milp (HiGHS), early_stop disabled",
"acceptance": "all 2k logical directions solved to proven optimality",
"timeout_per_logical_s": 300,
"total_timeout_per_code_s": 7200
},
"environment": {
"python": "3.12.3",
"numpy": "2.3.5",
"scipy": "1.17.0",
"qldpc": "0.2.6"
},
"passed": true,
"summary": {
"passed": 3,
"total": 3
},
"baselines": [
{
"label": "[[72,12,6]]",
"ell": 6,
"m": 6,
"A_terms": [
[
3,
0
],
[
0,
1
],
[
0,
2
]
],
"B_terms": [
[
0,
3
],
[
1,
0
],
[
2,
0
]
],
"expected": {
"n": 72,
"k": 12,
"d": 6
},
"observed": {
"n": 72,
"rank_hx": 30,
"rank_hz": 30,
"k": 12,
"d": 6,
"fom": 6.0,
"commutation_violations": 0,
"max_row_weight": 6,
"max_qubit_degree": 6,
"tanner_components": 1
},
"matrix_sha256": {
"hx": "5b2a06e947f10b2d136c4a439cd1158922f1ec56f03efded4fa073474f41ca41",
"hz": "15c8558e7362304ad2bccc5f4a2a19c3dd00939af1465979ad74d8177d6fc8fe"
},
"milp": {
"d_x": 6,
"d_z": 6,
"k": 12,
"exact": true,
"d_x_computed": true,
"num_logicals_checked": 24,
"logicals_optimal": 24,
"logicals_incumbent": 0,
"total_logicals": 24,
"time_s": 14.918640526011586,
"timeout_per_logical": 300
},
"checks": {
"valid_polynomials": true,
"css_commutation": true,
"weight_bound": true,
"connected_tanner_graph": true,
"expected_n": true,
"expected_k": true,
"qldpc_k_crosscheck": true,
"all_milp_directions_optimal": true,
"expected_d": true
},
"failures": [],
"status": "passed"
},
{
"label": "[[90,8,10]]",
"ell": 15,
"m": 3,
"A_terms": [
[
9,
0
],
[
0,
1
],
[
0,
2
]
],
"B_terms": [
[
0,
0
],
[
2,
0
],
[
7,
0
]
],
"expected": {
"n": 90,
"k": 8,
"d": 10
},
"observed": {
"n": 90,
"rank_hx": 41,
"rank_hz": 41,
"k": 8,
"d": 10,
"fom": 8.88888888888889,
"commutation_violations": 0,
"max_row_weight": 6,
"max_qubit_degree": 6,
"tanner_components": 1
},
"matrix_sha256": {
"hx": "a4d8d7965b48d61ac2af4268f329736138e7cc6cd4add4d45ad01e090298b807",
"hz": "ae26244061d55e7bc79b9530e54e6cff8357a95e46d745aeed43ba827ff935e0"
},
"milp": {
"d_x": 10,
"d_z": 10,
"k": 8,
"exact": true,
"d_x_computed": true,
"num_logicals_checked": 16,
"logicals_optimal": 16,
"logicals_incumbent": 0,
"total_logicals": 16,
"time_s": 169.2676596348174,
"timeout_per_logical": 300
},
"checks": {
"valid_polynomials": true,
"css_commutation": true,
"weight_bound": true,
"connected_tanner_graph": true,
"expected_n": true,
"expected_k": true,
"qldpc_k_crosscheck": true,
"all_milp_directions_optimal": true,
"expected_d": true
},
"failures": [],
"status": "passed"
},
{
"label": "[[144,12,12]]",
"ell": 12,
"m": 6,
"A_terms": [
[
3,
0
],
[
0,
1
],
[
0,
2
]
],
"B_terms": [
[
0,
3
],
[
1,
0
],
[
2,
0
]
],
"expected": {
"n": 144,
"k": 12,
"d": 12
},
"observed": {
"n": 144,
"rank_hx": 66,
"rank_hz": 66,
"k": 12,
"d": 12,
"fom": 12.0,
"commutation_violations": 0,
"max_row_weight": 6,
"max_qubit_degree": 6,
"tanner_components": 1
},
"matrix_sha256": {
"hx": "bd1b76887a3c38fa0bfad44ad11fbdbea0ba07d3233dacd5db98f5cec6a162e5",
"hz": "25535dfd7bc99ccb071f8e26e42d958020271b77c55507901a44fd56b8ce4eef"
},
"milp": {
"d_x": 12,
"d_z": 12,
"k": 12,
"exact": true,
"d_x_computed": true,
"num_logicals_checked": 24,
"logicals_optimal": 24,
"logicals_incumbent": 0,
"total_logicals": 24,
"time_s": 1819.602369422093,
"timeout_per_logical": 300
},
"checks": {
"valid_polynomials": true,
"css_commutation": true,
"weight_bound": true,
"connected_tanner_graph": true,
"expected_n": true,
"expected_k": true,
"qldpc_k_crosscheck": true,
"all_milp_directions_optimal": true,
"expected_d": true
},
"failures": [],
"status": "passed"
}
]
}