wai-quantum 0.3.40: rectangle space groups, a sector referee on its own basis, and a sector larger than the network #194
Loading…
Reference in a new issue
No description provided.
Delete branch "wai-quantum-nqs-rectangle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
wai-quantum 0.3.40. A symmetry sector larger than the network, held to its exact answer.
Symmetry::rectangle(lx, ly, kx_pi, ky_pi, irrep): the translations of anlx × lytorus, each combined with the identity, the reflectionsx → −xandy → −y, or both (the half turn). It projects onto one of their four one-dimensional representations (RectIrrep::{A1, A2, B1, B2}), at momentum 0 or π along each direction.SpinModel::exact_ground_energy_innow works on the sector's own basis: one state per orbit of the group,Σ_g χ(g)|g·r⟩normalised for each least configurationrthat no element of character −1 fixes. It reaches 24 spins.P H P) stays in the tests as an independent cross-check.nqs_groundtake--reflections a1|a2|b1|b2. A projected run of up to 24 spins is held to its sector alone. Previously, past 20 spins, it first computed a DMRG reference and then discarded it: 136 s on the 6 × 4 torus, for an answer 3 % off.Checked
10⁻⁹in all 24 sectors of the 4 × 3 J₁–J₂ torus: four representations, both momenta along x, and no flip, an even flip or an odd flip.Measured
Periodic 6 × 4 J₁–J₂ at
J₂ = J₁/2: the full 24-spin diagonalisation gives−12.5405984488, and the orbit referee places it in the sector even under the half turn and both reflections, at momentum zero, with even parity.That sector holds 15 578 configurations up to symmetry, counted by character sums; the same count gives 107 for the 4 × 4 sector of 0.3.39. A complex
α = 1network has 624 parameters.Results after 600 steps of 1000 samples, with energies over every configuration:
On a sector larger than the network, the guide is worth a factor of fifteen and the reflections a factor of two. Unlike the small 4 × 4 sector, this one is not reached to rounding: what remains is the network's.
On the 6 × 6 open Heisenberg lattice (unprojected,
α = 2, 800 steps) the guide doubled the error, from 3.1·10⁻³ to 6.5·10⁻³. Unprojected networks keep sampling|ψ|², and the docs say why.Gates
cargo test --release --features full --lib quantum_nqs: 22 passed.cargo test --release --features full --test bit_identity: 22 passed, digests unchanged.cargo test --locked --features full --lib --tests --no-run(debug) compiles. Clippy is clean in the module and the example.--lockedresolves in all five lockfiles that pin wai-quantum.scripts/check-comparative-prose.shandscripts/check-no-vanity-metrics.share clean.🤖 Generated with Claude Code