|
Ran
|
Jobs
1
|
Files
69
|
Run time
1min
|
Badge
README BADGES
|
push
github
docs: add a guide for spin chains with hard-core bosons (#20) (#23) Add an end-to-end guide that simulates the dynamics of Ising and Heisenberg-like spin chains. It writes the generic XYZ chain with hard-core bosons (a mode truncated to two levels), isolates the transverse-field Ising and XXZ special cases, and shows what the group index of a term gives you over the term order of a SparsePauliOp: the grouping, the order of the groups and the product formula are separate choices that can be changed one at a time. The guide uses expand_projectors with group_wise so that a group evolves as the operator it stands for, draws the bosonic and the lowered brickwork circuits, and plots the two-qubit depth and CX count against the length of the chain. It also shows that optimization level 3 recovers the CX count of a poor grouping but not its depth. (cherry picked from commit b9abad0e1) Co-authored-by: Max Rossmannek <21973473+mrossinek@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
3371 of 3642 relevant lines covered (92.56%)
41.9 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 44535597063.1 | 69 |
92.56
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|