• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sandialabs / LoQS / 31993797025
88%

Build:
DEFAULT BRANCH: main
Ran 17 Aug 2026 04:30AM UTC
Jobs 1
Files 63
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Aug 2026 04:15AM UTC coverage: 89.129% (+0.3%) from 88.844%
31993797025

push

github

web-flow
Multiqubit generalization of `PatchDict` to `PatchLayout` (#112)

* Add QECCodePatch.data_qubits and the PatchLayout/PatchRelation classes (#103)

QECCodePatch.data_qubits maps a patch's template data qubits onto its own real qubits, the same computation QECCode.create_patch already does inline for a patch's initial PauliFrame. PatchLayout is a superset of PatchDict that additionally tracks PatchRelation objects -- data-only runtime state about a relationship between a set of patches (e.g. seam qubits, joint measurement bookkeeping), keyed by the sorted tuple of participants' patch labels (not a frozenset, unsupported by LoQS's serialization framework). Patch removal auto-drops any relation referencing the removed label, and get_relation warns on an unknown label. Added alongside the existing PatchDict, not yet wired into QuantumProgram/builders.py/codepacks.

* Wire QuantumProgram to PatchLayout and add patch_data[<name>] priority (#103)

* Retrofit builders.py and all codepacks for PatchLayout (#103)

build_patch_builder_instruction/build_patch_remover_instruction now construct/consume PatchLayout; patch removal auto-drops any PatchRelation referencing the removed label via PatchLayout's own __delitem__, needing no extra code here.

codepack_surf17_multipatch.py: build_cnot_bookkeeping_instruction drops its ctrl_data_qubits/tgt_data_qubits parameters, reading each patch's own data qubits via QECCodePatch.data_qubits at apply time instead; the joint_parity_zz/xx frame keys are now scoped by participant patch labels to avoid collisions between simultaneous multi-patch operations.

codepack_surf17_surgery.py: build_merge_instruction's bookkeeping now registers a PatchRelation holding the grown-check rows, byproduct, and repair-key data that build_split_byproduct_repair_instruction previously recomputed independently via its own _surgery_metadata call -- that instruction's signature drops kind/qubits_a/qubits_b/seam_qubits/layout entirely, reading the r... (continued)

1359 of 1493 branches covered (91.02%)

Branch coverage included in aggregate %.

7553 of 8506 relevant lines covered (88.8%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
50
88.31
1.49% codepacks/codepack_surf17_surgery.py
20
80.0
1.18% core/instructions/builders.py
9
85.71
0.71% core/recordables/qeccodepatch.py
7
94.62
2.95% codepacks/codepack_surf17_multipatch.py
6
82.09
0.95% core/quantumprogram.py
2
84.78
-4.35% core/recordables/patchdict.py
Jobs
ID Job ID Ran Files Coverage
1 31993797025.1 17 Aug 2026 04:30AM UTC 63
89.13
GitHub Action Run
Source Files on build 31993797025
  • Tree
  • List 63
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31993797025
  • 1d4f2f88 on github
  • Prev Build on main (#31952745738)
  • Next Build on main (#32096351089)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc