Skip to content

Check the L = 40 bond elements to 1e-6 (CI 1.10 failure of #82); README quasicrystal bullet - #83

Merged
TiagoAntao2 merged 2 commits into
mainfrom
fixes
Nov 13, 2026
Merged

TiagoAntao2 merged 2 commits into
mainfrom
fixes

Conversation

@mousanouar

@mousanouar mousanouar commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #82 (a test tolerance and the README), before v0.2.1 is registered.

The Julia 1.10 job of #82 failed one test: at L = 40 the kept middle bond of the chain was 0.9999999829 against atol = 1e-8 (test/bugfix_large_L_cutoffs.jl:63). That is rounding noise, not a lost bond. The chain MPO has norm ~1.5e6 at L = 40, and the bond is off by 4.6e-9 and 5.3e-9 on Windows (Julia 1.12) and by 1.7e-8 on the Linux runner. The noise is ~1e-14 at L = 26 and ~1e-12 at L = 34, so only the two L = 40 checks (chain and p-wave pairing) go to atol = 1e-6. A cut bond is off by 0.5 or more, so the test still catches what it is for.

Also: the README's Hamiltonian-construction features list the quasicrystal builders in one bullet instead of four (docs only).

No code or result changes. Version 0.2.1 has not been registered yet; it will be registered from this PR's merge commit.

🤖 Generated with Claude Code

mousanouar and others added 2 commits November 13, 2026 14:42
At L = 40 the chain MPO has norm ~1.5e6, and the kept middle bond carries rounding
noise of 4.6e-9 / 5.3e-9 on Windows (Julia 1.12) and 1.7e-8 on GitHub's Linux runner
with Julia 1.10, which failed the 1e-8 bound of the two L = 40 chain checks (CI of
PR #82). The noise is ~1e-14 at L = 26 and ~1e-12 at L = 34, so only the L = 40
checks (chain and p-wave pairing) change. A cut bond is off by 0.5 or more, so 1e-6
still catches what the test is for. Test-only change; no code or result moves.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Hamiltonian-construction features gave the quasicrystals four of seven bullets
(Aubry-Andre-Harper inside the 1D bullet, then Fibonacci, metallic-mean and k-bonacci
with their substitution rules and numeration details). They now share one bullet; the
details stay on the position-spaces API page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mousanouar mousanouar changed the title Check the L = 40 bond elements to 1e-6 (CI 1.10 failure of #82) Check the L = 40 bond elements to 1e-6 (CI 1.10 failure of #82); README quasicrystal bullet Nov 13, 2026
@TiagoAntao2
TiagoAntao2 merged commit 3a38fc3 into main Nov 13, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants