Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

arXiv:2305.18643 · SciPost Physics Codebases

Pyqcm: An open-source Python library for quantum cluster methods

Théo N. Dionne, Alexandre Foley, Moïse Rousseau, David Sénéchal

Published Dec 20, 2023• 18 citations
arXivHTMLPDF

Abstract

Pyqcm is a Python/C++ library that implements a few quantum cluster methods with an exact diagonalization impurity solver. Quantum cluster methods are used in the study of strongly correlated electrons to provide an approximate solution to Hubbard-like models. The methods covered by this library are Cluster Perturbation Theory (CPT), the Variational Cluster Approach (VCA) and Cellular (or Cluster) Dynamical Mean Field Theory (CDMFT). The impurity solver (the technique used to compute the cluster’s interacting Green function) is exact diagonalization from sparse matrices, using the Lanczos algorithm and variants thereof. The core library is written in C++ for performance, but the interface is in Python, for ease of use and inter-operability with the numerical Python ecosystem. The library is distributed under the GPL license.

DOI
10.21468/scipostphyscodeb.23

Related papers

Codebase release 2.2 for Pyqcm

Théo N. Dionne, Alexandre Foley, Moïse Rousseau +1 more

Pyqcm is a Python/C++ library that implements a few quantum cluster methods with an exact diagonalization impurity solver. Quantum cluster methods are used in the study of strongly correlated electrons to provide an approximate solution to Hubbard-like models. The methods covered by this library are Cluster Perturbation Theory (CPT), the Variational Cluster Approach (VCA) and Cellular (or Cluster) Dynamical Mean Field Theory (CDMFT). The impurity solver (the technique used to compute the cluster’s interacting Green function) is exact diagonalization from sparse matrices, using the Lanczos algorithm and variants thereof. The core library is written in C++ for performance, but the interface is in Python, for ease of use and inter-operability with the numerical Python ecosystem. The library is distributed under the GPL license.

SciPost Physics Codebases•Dec 20, 2023•6 citations

An introduction to quantum cluster methods

David Sénéchal

These lecture notes provide an introduction to quantum cluster methods for strongly correlated systems. Cluster Perturbation Theory (CPT), the Variational Cluster Approximation (VCA) and Cellular Dynamical Mean Field Theory (CDMFT) are described, as well as the exact diagonalization solver for the cluster. Potthoff's self-energy functional formalism is reviewed. Some numerical procedures, in particular regarding the exact diagonalization method and the frequency-momentum integrals needed in VCA, are discussed in detail.

arXiv:0806.2690•Jun 17, 2008•41 citations

Dynamical variational Monte Carlo as a quantum impurity solver: Application to cluster dynamical mean field theory

Peter Rosenberg, David Sénéchal, A.–M. S. Tremblay +1 more

Two of the primary sources of error in the Cluster dynamical mean field theory (CDMFT) technique arise from the use of finite size clusters and finite size baths, which makes the development of impurity solvers that can treat larger systems an essential goal. In this work we introduce an impurity solver based on the recently developed dynamical variational Monte Carlo (dVMC) method. Variational Monte Carlo possesses a favorable scaling as a function of system size, which enables the treatment of systems beyond the reach of current exact diagonalization solvers. To benchmark the technique, we perform a systematic set of CDMFT calculations on the single-band one-dimensional Hubbard model. We compare to results obtained with an exact diagonalization solver for small clusters, and against the exact solution in the thermodynamic limit obtained by Lieb and Wu for larger clusters. The development of improved impurity solvers will help extend the reach of quantum cluster methods, which can be applied to a wide range of strongly correlated electron systems, promising new insights into their emergent behavior.

arXiv:2307.15738•Physical review. B./Physical review. B•Dec 8, 2023•4 citations

The ALPS project release 3.0: open source software for strongly correlated systems

F. Alet, T. Chen, A. Feiguin +16 more

We present release 3.0 of the ALPS (Algorithms and Libraries for Physics Simulations) project, an open-source software project to develop libraries and application programs for the simulation of strongly correlated quantum lattice models such as quantum magnets, lattice bosons, and strongly correlated fermion systems. As in previous releases, development is centered on common data formats, on libraries to simplify and speed up code development, and on full-featured simulation programs that let non-experts carry out serial or parallel numerical simulations using the important algorithms for quantum lattice models: classical and quantum Monte Carlo (QMC) using non-local updates, extended-ensemble simulations, exact and full diagonalization (ED), the density matrix renormalization group (DMRG), and continuous-time QMC solvers for dynamical mean-field theory (DMFT). Major changes in release 3.0 include distribution of the pyalps binary through the Python Package Index (pip install pyalps) and through Spack for HPC systems; migration of development to GitHub with continuous integration and automated testing; relicensing of the package under the permissive MIT license; a rebuilt documentation and tutorial website, including a set of Jupyter-notebook tutorials and localized content; a broad modernization of the C++ codebase (C++17 compliance, Boost and NumPy 2.0 compatibility, and warning and dead-code cleanup) together with a major DMRG update and associated reliability and build-compatibility fixes; the removal of legacy components (the VisTrails provenance integration and the TEBD, MPS, and directed-worm-algorithm application codes); archival of release 3.0.0 with a Zenodo DOI; and a formal governance and sustainability model developed under the US National Science Foundation (NSF) POSE program. The software is available at https://alps.comp-phys.org.

cond-mat.str-elCross-listedarXiv:2610.03884•Oct 6, 2026•0 citations

Determinantal Quantum Monte Carlo solver for Cluster Perturbation Theory

Edwin W. Huang, Yao Wang

Cluster Perturbation Theory (CPT) is a technique for computing the spectral function of fermionic models with local interactions. By combining the solution of the model on a finite cluster with perturbation theory on intra-cluster hoppings, CPT provides access to single-particle properties with arbitrary momentum resolution while incurring low computational cost. Here, we introduce Determinantal Quantum Monte Carlo (DQMC) as a solver for CPT. Compared to the standard solver, exact diagonalization (ED), the DQMC solver reduces finite size effects through utilizing larger clusters, allows study of temperature dependence, and enables large-scale simulations of a greater set of models. We discuss the implementation of the DQMC solver for CPT and benchmark the CPT+DQMC method for the attractive and repulsive Hubbard models, showcasing its advantages over standard DQMC and CPT+ED simulations.

arXiv:2107.11284•Jul 23, 2021•0 citations

Quantum Monte Carlo study of strongly correlated electrons: Cellular dynamical mean-field theory

Bumsoo Kyung, Gabriel Kotliar, A.–M. S. Tremblay

We study the Hubbard model using the cellular dynamical mean-field theory (CDMFT) with quantum Monte Carlo (QMC) simulations. We present the algorithmic details of CDMFT with the Hirsch-Fye QMC method for the solution of the self-consistently embedded quantum cluster problem. We use the one- and two-dimensional half filled Hubbard model to gauge the performance of $\mathrm{CDMFT}+\mathrm{QMC}$ particularly for small clusters by comparing with the exact results and also with other quantum cluster methods. We calculate single-particle Green's functions and self-energies on small clusters to study their size dependence in one and two dimensions. It is shown that in one dimension, CDMFT with two sites in the cluster is already able to describe with high accuracy the evolution of the density as a function of the chemical potential and the compressibility divergence at the Mott transition, in good agreement with the exact Bethe ansatz result. With increasing $U$ the result on small clusters rapidly approaches that of the infinite size cluster. Large scattering rate and a positive slope in the real part of the self-energy in one dimension suggest that the system is a non-Fermi liquid for all the parameters studied here. In two dimensions, at intermediate to strong coupling, even the smallest cluster $({N}_{c}=2\ifmmode\times\else\texttimes\fi{}2)$ accounts for more than 95% of the correlation effect of the infinite-size cluster in the single particle spectrum, suggesting that some of the important problems in strongly correlated electron systems may be studied highly accurately with a reasonable computational effort. Finally, as an application that is sensitive to details of correlations, we show that $\mathrm{CDMFT}+\mathrm{QMC}$ can describe spin-charge separated Luttinger liquid physics in one dimension. The spinon and holon branches appear only for sufficiently large system sizes.

arXiv:cond-mat/0601271•Physical Review B•May 10, 2006•42 citations
Pyqcm is a Python/C++ library that implements a few quantum cluster methods with an exact diagonalization impurity solver. Quantum cluster methods are used in the study of strongly correlated electrons to provide an approximate solution to Hubbard-like models. The methods covered by this library are Cluster Perturbation Theory (CPT), the Variational Cluster Approach (VCA) and Cellular (or Cluster) Dynamical Mean Field Theory (CDMFT). The impurity solver (the technique used to compute the cluster’s interacting Green function) is exact diagonalization from sparse matrices, using the Lanczos algorithm and variants thereof. The core library is written in C++ for performance, but the interface is in Python, for ease of use and inter-operability with the numerical Python ecosystem. The library is distributed under the GPL license.
Pyqcm is a Python/C++ library that implements a few quantum cluster methods with an exact diagonalization impurity solver. Quantum cluster methods are used in the study of strongly correlated electrons to provide an approximate solution to Hubbard-like models. The methods covered by this library are Cluster Perturbation Theory (CPT), the Variational Cluster Approach (VCA) and Cellular (or Cluster) Dynamical Mean Field Theory (CDMFT). The impurity solver (the technique used to compute the cluster’s interacting Green function) is exact diagonalization from sparse matrices, using the Lanczos algorithm and variants thereof. The core library is written in C++ for performance, but the interface is in Python, for ease of use and inter-operability with the numerical Python ecosystem. The library is distributed under the GPL license.
These lecture notes provide an introduction to quantum cluster methods for strongly correlated systems. Cluster Perturbation Theory (CPT), the Variational Cluster Approximation (VCA) and Cellular Dynamical Mean Field Theory (CDMFT) are described, as well as the exact diagonalization solver for the cluster. Potthoff's self-energy functional formalism is reviewed. Some numerical procedures, in particular regarding the exact diagonalization method and the frequency-momentum integrals needed in VCA, are discussed in detail.
Two of the primary sources of error in the Cluster dynamical mean field theory (CDMFT) technique arise from the use of finite size clusters and finite size baths, which makes the development of impurity solvers that can treat larger systems an essential goal. In this work we introduce an impurity solver based on the recently developed dynamical variational Monte Carlo (dVMC) method. Variational Monte Carlo possesses a favorable scaling as a function of system size, which enables the treatment of systems beyond the reach of current exact diagonalization solvers. To benchmark the technique, we perform a systematic set of CDMFT calculations on the single-band one-dimensional Hubbard model. We compare to results obtained with an exact diagonalization solver for small clusters, and against the exact solution in the thermodynamic limit obtained by Lieb and Wu for larger clusters. The development of improved impurity solvers will help extend the reach of quantum cluster methods, which can be applied to a wide range of strongly correlated electron systems, promising new insights into their emergent behavior.
We present release 3.0 of the ALPS (Algorithms and Libraries for Physics Simulations) project, an open-source software project to develop libraries and application programs for the simulation of strongly correlated quantum lattice models such as quantum magnets, lattice bosons, and strongly correlated fermion systems. As in previous releases, development is centered on common data formats, on libraries to simplify and speed up code development, and on full-featured simulation programs that let non-experts carry out serial or parallel numerical simulations using the important algorithms for quantum lattice models: classical and quantum Monte Carlo (QMC) using non-local updates, extended-ensemble simulations, exact and full diagonalization (ED), the density matrix renormalization group (DMRG), and continuous-time QMC solvers for dynamical mean-field theory (DMFT). Major changes in release 3.0 include distribution of the pyalps binary through the Python Package Index (pip install pyalps) and through Spack for HPC systems; migration of development to GitHub with continuous integration and automated testing; relicensing of the package under the permissive MIT license; a rebuilt documentation and tutorial website, including a set of Jupyter-notebook tutorials and localized content; a broad modernization of the C++ codebase (C++17 compliance, Boost and NumPy 2.0 compatibility, and warning and dead-code cleanup) together with a major DMRG update and associated reliability and build-compatibility fixes; the removal of legacy components (the VisTrails provenance integration and the TEBD, MPS, and directed-worm-algorithm application codes); archival of release 3.0.0 with a Zenodo DOI; and a formal governance and sustainability model developed under the US National Science Foundation (NSF) POSE program. The software is available at https://alps.comp-phys.org.
Cluster Perturbation Theory (CPT) is a technique for computing the spectral function of fermionic models with local interactions. By combining the solution of the model on a finite cluster with perturbation theory on intra-cluster hoppings, CPT provides access to single-particle properties with arbitrary momentum resolution while incurring low computational cost. Here, we introduce Determinantal Quantum Monte Carlo (DQMC) as a solver for CPT. Compared to the standard solver, exact diagonalization (ED), the DQMC solver reduces finite size effects through utilizing larger clusters, allows study of temperature dependence, and enables large-scale simulations of a greater set of models. We discuss the implementation of the DQMC solver for CPT and benchmark the CPT+DQMC method for the attractive and repulsive Hubbard models, showcasing its advantages over standard DQMC and CPT+ED simulations.
We study the Hubbard model using the cellular dynamical mean-field theory (CDMFT) with quantum Monte Carlo (QMC) simulations. We present the algorithmic details of CDMFT with the Hirsch-Fye QMC method for the solution of the self-consistently embedded quantum cluster problem. We use the one- and two-dimensional half filled Hubbard model to gauge the performance of CDMFT+QMC\mathrm{CDMFT}+\mathrm{QMC}CDMFT+QMC particularly for small clusters by comparing with the exact results and also with other quantum cluster methods. We calculate single-particle Green's functions and self-energies on small clusters to study their size dependence in one and two dimensions. It is shown that in one dimension, CDMFT with two sites in the cluster is already able to describe with high accuracy the evolution of the density as a function of the chemical potential and the compressibility divergence at the Mott transition, in good agreement with the exact Bethe ansatz result. With increasing UUU the result on small clusters rapidly approaches that of the infinite size cluster. Large scattering rate and a positive slope in the real part of the self-energy in one dimension suggest that the system is a non-Fermi liquid for all the parameters studied here. In two dimensions, at intermediate to strong coupling, even the smallest cluster $({N}_{c}=2\ifmmode\times\else\texttimes\fi{}2)$ accounts for more than 95% of the correlation effect of the infinite-size cluster in the single particle spectrum, suggesting that some of the important problems in strongly correlated electron systems may be studied highly accurately with a reasonable computational effort. Finally, as an application that is sensitive to details of correlations, we show that CDMFT+QMC\mathrm{CDMFT}+\mathrm{QMC}CDMFT+QMC can describe spin-charge separated Luttinger liquid physics in one dimension. The spinon and holon branches appear only for sufficiently large system sizes.