publication number 48-r1.0

Codebase release 1.0 for DanceQ

Publication typeJournal Article
Publication date2025-02-05
SJR
CiteScore
Impact factor
ISSN2949804X
Abstract

The complexity of quantum many-body problems scales exponentially with the size of the system, rendering any finite-size scaling analysis a formidable challenge. This is particularly true for methods based on the full representation of the wave function, where one simply accepts the enormous Hilbert space dimensions and performs linear algebra operations, e.g., for finding the ground state of the Hamiltonian. If the system satisfies an underlying symmetry where an operator with a degenerate spectrum commutes with the Hamiltonian, it can be block-diagonalized, thus reducing the complexity at the expense of additional bookkeeping. At the most basic level required for Krylov space techniques (like the Lanczos algorithm), it is necessary to implement a matrix-vector product of a block of the Hamiltonian with arbitrary block-wavefunctions, potentially without holding the Hamiltonian block in memory. An efficient implementation of this operation requires the calculation of the position of an arbitrary basis vector in the canonical ordering of the basis of the block. We present here an elegant and powerful, multi-dimensional approach to this problem for the U(1)U(1) symmetry appearing in problems with particle number conservation. Our divide-and-conquer algorithm uses multiple subsystems and hence generalizes previous approaches to make them scalable. In addition to the theoretical presentation of our algorithm, we provide DanceQ, a flexible and modern – header only – C++20 implementation to manipulate, enumerate, and map to its index any basis state in a given particle number sector as open source software under https://DanceQ.gitlab.io/danceq.

Found 
Found 

Top-30

Journals

1
SciPost Physics Codebases
1 publication, 50%
Physical Review B
1 publication, 50%
1

Publishers

1
Stichting SciPost
1 publication, 50%
American Physical Society (APS)
1 publication, 50%
1
  • We do not take into account publications without a DOI.
  • Statistics recalculated weekly.

Are you a researcher?

Create a profile to get free access to personal recommendations for colleagues and new articles.
Metrics
2
Share
Cite this
GOST |
Cite this
GOST Copy
Schäfer R., Luitz D. Codebase release 1.0 for DanceQ // SciPost Physics Codebases. 2025. 48-r1.0
GOST all authors (up to 50) Copy
Schäfer R., Luitz D. Codebase release 1.0 for DanceQ // SciPost Physics Codebases. 2025. 48-r1.0
RIS |
Cite this
RIS Copy
TY - JOUR
DO - 10.21468/scipostphyscodeb.48-r1.0
UR - https://scipost.org/10.21468/SciPostPhysCodeb.48-r1.0
TI - Codebase release 1.0 for DanceQ
T2 - SciPost Physics Codebases
AU - Schäfer, R
AU - Luitz, D. J.
PY - 2025
DA - 2025/02/05
PB - Stichting SciPost
SN - 2949-804X
ER -
BibTex
Cite this
BibTex (up to 50 authors) Copy
@article{2025_Schäfer,
author = {R Schäfer and D. J. Luitz},
title = {Codebase release 1.0 for DanceQ},
journal = {SciPost Physics Codebases},
year = {2025},
publisher = {Stichting SciPost},
month = {feb},
url = {https://scipost.org/10.21468/SciPostPhysCodeb.48-r1.0},
pages = {48-r1.0},
doi = {10.21468/scipostphyscodeb.48-r1.0}
}