Releases: Quantum-Many-Body/ExactDiagonalization.jl
v0.3.4
ExactDiagonalization v0.3.4
New Features
-
normalizefunction for ExactDiagonalization: added anormalizefunction that adjusts term factors for exact diagonalization. ForPairingterms, the factor is multiplied by1//2because ED does not use BdG-form symmetrization unlike TBA. -
Sectorconstructor for ℤ₁ quantum number: added a newSector(::ℤ₁, hilbert, ...)constructor, enabling sector construction with ℤ₁ quantum number symmetry. -
BandLanczosMethodkeepvecsdefault changed totrue: thekeepvecsparameter now defaults totrue, retaining Lanczos vectors by default for better usability.
Dependency Updates
QuantumLattices:0.14.4→0.14.7
Tests
- Added
GreenFunction ED vs TBAandGreenFunction ED vs BdGtest sets comparing ED results against TBA/BdG calculations
v0.3.3
ExactDiagonalization v0.3.3
v0.3.2
ExactDiagonalization v0.3.2
This release improves the RetardedGreenFunction API, fixes a spectral function calculation bug, and enhances logging and code clarity.
New features
- Add e₀, v₀, sector₀ keyword arguments to RetardedGreenFunction constructors. When all three are provided, eigen-computation is skipped for efficiency.
Bug fixes
- Fix spectral function calculation by removing an erroneous factor of 2.
- Fix scalartype dispatch for ED with L<:Union{AbstractLattice, Nothing} and CategorizedGenerator.
Improvements
- Rename reset! to set! in GreenFunctions to better reflect its purpose.
- Rename Greek-letter variables (Ω → v₀, E₀ → e₀, sector → sector₀) to Latin equivalents for clarity and Julia naming conventions.
- Add RawStderrLogger for verbatim @info log output; refine logging messages throughout GreenFunctions.jl.
- Reformat function signatures in RetardedGreenFunction for readability.
- Use scalartype(ed) instead of scalartype(Ω) in GreenFunction for consistency.
Dependencies
- Add Logging dependency to Project.toml.
v0.3.1
ExactDiagonalization v0.3.1
Release Notes for ExactDiagonalization v0.3.1
Features
-Makie plotting support: Added ExactDiagonalizationMakieExt extension providing Makie-based plotting for StaticChargeStructureFactor, StaticSpinStructureFactor, and SpinCoherentStateProjection. Tests now run both Plots and Makie backends with separate output files.
Bug Fixes
- GreenFunction sector calculation: Fixed incorrect sector computation by using adjoint(operator) instead of raw operator. Also switched to OrderedDict to preserve operator ordering.
v0.3.0
ExactDiagonalization v0.3.0
ExactDiagonalization v0.3.0 Release Notes
Version Information
- Version: v0.3.0
- Release Date: 2026-03-12
- Julia Version: 1.10 - 1.12
Dependency Updates
- QuantumLattices: 0.14.2
- RecipesBase: Converted to weakdeps, now using extension mechanism
Breaking Changes
- See new features
New Features
BandLanczos Module
- Added new
BandLanczosmodule withBandLanczosIteratorandBandLanczosFactorizationtypes that extend KrylovKit's BlockLanczos with optional control over keeping Krylov basis vectors
Green Functions
- Added
GreenFunctionandRetardedGreenFunctiontypes for calculating Green's functions withBandLanczosMethodandExactMethodmethods
Quantum Number System
QuantumNumbersand related functions migrated from QuantumLattices- Added action of
QuantumOperatoronAbelianQuantumNumber
Bug Fixes
- Fixed various documentation and typo issues
Closed issues:
- Low cpu usage in 4*4 case for Fermi Hubbard Model (#9)
v0.2.0
ExactDiagonalization v0.2.0
Breaking changes
- Redefine the construction function of
BinaryBases, which uses quantum numbers, such asℕ,𝕊ᶻ,𝕊ᶻ ⊠ ℕ,ℕ ⊠ 𝕊ᶻor none to initialize. - Rename
SpinBasestoAbelianBases, which is in principle not restricted to spin systems any more, and uses quantum numbers, such as𝕊ᶻor none to initialize. - Generic interface
Sectorhas been modified in accordance withBinaryBasesandAbelianBases. - Redefine the construction function of
ED, which uses quantum numbers, such asℕ,𝕊ᶻ,𝕊ᶻ ⊠ ℕ,ℕ ⊠ 𝕊ᶻor none to initialize. - Remove
TargetSpace. BinaryBasisRange,SectorFilterandbasistypeare no longer exported.
New features
- Add
EDEigenandEDEigenData. - Add
GroundStateExpectationandGroundStateExpectationData. - Add
StaticTwoPointCorrelatorandStaticTwoPointCorrelatorData. - Add
SpinCoherentState,SpinCoherentStateProjectionandSpinCoherentStateProjectionData. - Add
prepare!(::ED; timer),prepare!(::Algorithm{<:ED})andrelease!(::Union{ED, Algorithm{<:ED}; gc)for more flexible memory control. - Add
releasekeyword argument tomatrix(::Union{ED, Algorithm{<:ED}}, args...; kwargs...)andeigen(::Union{ED, Algorithm{<:ED}}, args...; kwargs...)so that the memory cached to construct the sparse matrix representation of the Hamiltonian can be released immediately after the construction.
Merged pull requests:
- spin coherent states (#7) (@qscdesz)
- Green function (#8) (@ZongYongyue)
v0.1.7
ExactDiagonalization v0.1.7
v0.1.6
ExactDiagonalization v0.1.6
v0.1.5
ExactDiagonalization v0.1.5
v0.1.4
ExactDiagonalization v0.1.4
Merged pull requests: