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

Chemistry Letters

An Algorithm for computing Three- and Four-Body Density Matrices from CASCI Wavefunction and AI-Assisted Code Optimization

Kiyoshi Tanaka, Takahiro Katagiri, Tatsuya Nakano, Yuji Mochizuki

Published Nov 13, 2026• 0 citations
Publisher

Abstract

Abstract Three- and four-body density matrices in the active space are required for second-order n-electron valence perturbation theory (NEVPT2) following complete active-space configuration interaction (CASCI) calculations. We developed an algorithm to generate these computationally demanding quantities by extending the π-CASCI program, which is based on the graphical symmetric group approach (GSGA). A manually written prototype was subsequently optimized through AI-assisted code optimization, resulting in substantially improved performance.

DOI
10.1093/chemle/upag217

Related papers

An Algorithm for computing Three- and Four-Body Density Matrices from CASCI Wavefunction and AI-Assisted Code Optimization

Kiyoshi Tanaka, Takahiro Katagiri, Tatsuya Nakano +1 more

Abstract Three- and four-body density matrices in the active space are required for second-order n-electron valence perturbation theory (NEVPT2) following complete active-space configuration interaction (CASCI) calculations. We developed an algorithm to generate these computationally demanding quantities by extending the π-CASCI program, which is based on the graphical symmetric group approach (GSGA). A manually written prototype was subsequently optimized through AI-assisted code optimization, resulting in substantially improved performance.

Chemistry Letters•Nov 13, 2026•0 citations

An Algorithm for computing Three- and Four-Body Density Matrices from CASCI Wavefunction and AI-Assisted Code Optimization

Kiyoshi Tanaka, Takahiro Katagiri, Tatsuya Nakano +1 more

Three- and four-body reduced density matrices in the active space are required for second-order n-electron valence perturbation theory (NEVPT2) following complete active-space configuration interaction (CASCI) calculations. We developed an algorithm to generate these computationally demanding quantities by extending the pi-CASCI program, which is based on the graphical symmetric group approach (GSGA). A manually written prototype was subsequently optimized through AI-assisted code optimization, resulting in substantially improved performance.

•Oct 2, 2026•0 citations

Approximations of density matrices in N-electron valence state second-order perturbation theory (NEVPT2). III. Large active space calculations with selected configuration interaction reference

Yang Guo, Kantharuban Sivalingam, Vijay Gopal Chilkuri +1 more

In multi-reference (MR) methods, addressing systems with large active spaces remains a challenge in the field. In Papers I and II of this series, we demonstrated that full rank N-electron valence state second-order perturbation theory (FR-NEVPT2) is a robust MR perturbation theory capable of computing strongly correlated systems with approximate density matrices. However, the previous FR-NEVPT2 implementation requires the computation and storage of fifth-order reduced density matrices (RDMs), limiting the usage of FR-NEVPT2 for systems with large active spaces. In the present work, as Paper III of the series, we report a new FR-NEVPT2 algorithm to handle systems with large active spaces. In the new algorithm, an approximate complete active space (CAS) self-consistent field (SCF) method, iterative configuration expansion (ICE) SCF, is employed to compute the reference wave functions for FR-NEVPT2. Then, the necessary Koopmans matrices of FR-NEVPT2 involving various RDMs are constructed using the intermediates designed by Kollmar et al. [J. Chem. Phys. 155, 234104 (2021)] to avoid storage bottlenecks. The performance of the new FR-NEVPT2 algorithm for systems with large active spaces is evaluated. Our results show that even with aggressive truncation parameters to truncate the ICE-SCF reference wave function, FR-NEVPT2 effectively recovers the missing static correlations of ICE-SCF. Several interesting systems with active spaces up to CAS(34,34) are studied using FR-NEVPT2 with ICE-SCF reference.

The Journal of Chemical Physics•Apr 11, 2025•7 citations

Accurateab InitioSpin Densities

Katharina Bogusławski, Konrad Heinrich Marti, Örs Legeza +1 more

We present an approach for the calculation of spin density distributions for molecules that require very large active spaces for a qualitatively correct description of their electronic structure. Our approach is based on the density-matrix renormalization group (DMRG) algorithm to calculate the spin density matrix elements as a basic quantity for the spatially resolved spin density distribution. The spin density matrix elements are directly determined from the second-quantized elementary operators optimized by the DMRG algorithm. As an analytic convergence criterion for the spin density distribution, we employ our recently developed sampling-reconstruction scheme [J. Chem. Phys.2011, 134, 224101] to build an accurate complete-active-space configuration-interaction (CASCI) wave function from the optimized matrix product states. The spin density matrix elements can then also be determined as an expectation value employing the reconstructed wave function expansion. Furthermore, the explicit reconstruction of a CASCI-type wave function provides insight into chemically interesting features of the molecule under study such as the distribution of α and β electrons in terms of Slater determinants, CI coefficients, and natural orbitals. The methodology is applied to an iron nitrosyl complex which we have identified as a challenging system for standard approaches [J. Chem. Theory Comput.2011, 7, 2740].

arXiv:1203.3888•Journal of Chemical Theory and Computation•Apr 26, 2012•90 citations

Complete active space second-order perturbation theory with cumulant approximation for extended active-space wavefunction from density matrix renormalization group

Yuki Kurashige, Jakub Chalupský, Lan Nguyen Tran +1 more

We report an extension of our previous development that incorporated quantum-chemical density matrix renormalization group (DMRG) into the complete active space second-order perturbation theory (CASPT2) [Y. Kurashige and T. Yanai, J. Chem. Phys. 135, 094104 (2011)]. In the previous study, the combined theory, referred to as DMRG-CASPT2, was built upon the use of pseudo-canonical molecular orbitals (PCMOs) for one-electron basis. Within the PCMO basis, the construction of the four-particle reduced density matrix (4-RDM) using DMRG can be greatly facilitated because of simplicity in the multiplication of 4-RDM and diagonal Fock matrix in the CASPT2 equation. In this work, we develop an approach to use more suited orbital basis in DMRG-CASPT2 calculations, e.g., localized molecular orbitals, in order to extend the domain of applicability. Because the multiplication of 4-RDM and generalized Fock matrix is no longer simple in general orbitals, an approximation is made to it using the cumulant reconstruction neglecting higher-particle cumulants. Also, we present the details of the algorithm to compute 3-RDM of the DMRG wavefunction as an extension of the 2-RDM algorithm of Zgid et al. [J. Chem. Phys. 128, 144115 (2008)] and Chan et al. [J. Chem. Phys. 128, 144117 (2008)]. The performance of the extended DMRG-CASPT2 approach was examined for large-scale multireference systems, such as low-lying excited states of long-chain polyenes and isomerization potential of {[Cu(NH3)3]2O2}(2+).

The Journal of Chemical Physics•Nov 7, 2014•138 citations

Density matrix renormalization group (DMRG) method as a common tool for large active-space CASSCF/CASPT2 calculations

Naoki Nakatani, Sheng Guo

This paper describes an interface between the density matrix renormalization group (DMRG) method and the complete active-space self-consistent field (CASSCF) method and its analytical gradient, as well as an extension to the second-order perturbation theory (CASPT2) method. This interfacing allows large active-space multi-reference computations to be easily performed. The interface and its extension are both implemented in terms of reduced density matrices (RDMs) which can be efficiently computed via the DMRG sweep algorithm. We also present benchmark results showing that, in practice, the DMRG-CASSCF calculations scale with active-space size in a polynomial manner in the case of quasi-1D systems. Geometry optimization of a binuclear iron-sulfur cluster using the DMRG-CASSCF analytical gradient is demonstrated, indicating that the inclusion of the valence p-orbitals of sulfur and double-shell d-orbitals of iron lead to non-negligible changes in the geometry compared to the results of small active-space calculations. With the exception of the selection of M values, many computational settings in these practical DMRG calculations have been tuned and black-boxed in our interface, and so the resulting DMRG-CASSCF and DMRG-CASPT2 calculations are now available to novice users as a common tool to compute strongly correlated electronic wavefunctions.

The Journal of Chemical Physics•Mar 1, 2017•92 citations
Abstract Three- and four-body density matrices in the active space are required for second-order n-electron valence perturbation theory (NEVPT2) following complete active-space configuration interaction (CASCI) calculations. We developed an algorithm to generate these computationally demanding quantities by extending the π-CASCI program, which is based on the graphical symmetric group approach (GSGA). A manually written prototype was subsequently optimized through AI-assisted code optimization, resulting in substantially improved performance.
Abstract Three- and four-body density matrices in the active space are required for second-order n-electron valence perturbation theory (NEVPT2) following complete active-space configuration interaction (CASCI) calculations. We developed an algorithm to generate these computationally demanding quantities by extending the π-CASCI program, which is based on the graphical symmetric group approach (GSGA). A manually written prototype was subsequently optimized through AI-assisted code optimization, resulting in substantially improved performance.
Three- and four-body reduced density matrices in the active space are required for second-order n-electron valence perturbation theory (NEVPT2) following complete active-space configuration interaction (CASCI) calculations. We developed an algorithm to generate these computationally demanding quantities by extending the pi-CASCI program, which is based on the graphical symmetric group approach (GSGA). A manually written prototype was subsequently optimized through AI-assisted code optimization, resulting in substantially improved performance.
In multi-reference (MR) methods, addressing systems with large active spaces remains a challenge in the field. In Papers I and II of this series, we demonstrated that full rank N-electron valence state second-order perturbation theory (FR-NEVPT2) is a robust MR perturbation theory capable of computing strongly correlated systems with approximate density matrices. However, the previous FR-NEVPT2 implementation requires the computation and storage of fifth-order reduced density matrices (RDMs), limiting the usage of FR-NEVPT2 for systems with large active spaces. In the present work, as Paper III of the series, we report a new FR-NEVPT2 algorithm to handle systems with large active spaces. In the new algorithm, an approximate complete active space (CAS) self-consistent field (SCF) method, iterative configuration expansion (ICE) SCF, is employed to compute the reference wave functions for FR-NEVPT2. Then, the necessary Koopmans matrices of FR-NEVPT2 involving various RDMs are constructed using the intermediates designed by Kollmar et al. [J. Chem. Phys. 155, 234104 (2021)] to avoid storage bottlenecks. The performance of the new FR-NEVPT2 algorithm for systems with large active spaces is evaluated. Our results show that even with aggressive truncation parameters to truncate the ICE-SCF reference wave function, FR-NEVPT2 effectively recovers the missing static correlations of ICE-SCF. Several interesting systems with active spaces up to CAS(34,34) are studied using FR-NEVPT2 with ICE-SCF reference.
We present an approach for the calculation of spin density distributions for molecules that require very large active spaces for a qualitatively correct description of their electronic structure. Our approach is based on the density-matrix renormalization group (DMRG) algorithm to calculate the spin density matrix elements as a basic quantity for the spatially resolved spin density distribution. The spin density matrix elements are directly determined from the second-quantized elementary operators optimized by the DMRG algorithm. As an analytic convergence criterion for the spin density distribution, we employ our recently developed sampling-reconstruction scheme [J. Chem. Phys.2011, 134, 224101] to build an accurate complete-active-space configuration-interaction (CASCI) wave function from the optimized matrix product states. The spin density matrix elements can then also be determined as an expectation value employing the reconstructed wave function expansion. Furthermore, the explicit reconstruction of a CASCI-type wave function provides insight into chemically interesting features of the molecule under study such as the distribution of α and β electrons in terms of Slater determinants, CI coefficients, and natural orbitals. The methodology is applied to an iron nitrosyl complex which we have identified as a challenging system for standard approaches [J. Chem. Theory Comput.2011, 7, 2740].
We report an extension of our previous development that incorporated quantum-chemical density matrix renormalization group (DMRG) into the complete active space second-order perturbation theory (CASPT2) [Y. Kurashige and T. Yanai, J. Chem. Phys. 135, 094104 (2011)]. In the previous study, the combined theory, referred to as DMRG-CASPT2, was built upon the use of pseudo-canonical molecular orbitals (PCMOs) for one-electron basis. Within the PCMO basis, the construction of the four-particle reduced density matrix (4-RDM) using DMRG can be greatly facilitated because of simplicity in the multiplication of 4-RDM and diagonal Fock matrix in the CASPT2 equation. In this work, we develop an approach to use more suited orbital basis in DMRG-CASPT2 calculations, e.g., localized molecular orbitals, in order to extend the domain of applicability. Because the multiplication of 4-RDM and generalized Fock matrix is no longer simple in general orbitals, an approximation is made to it using the cumulant reconstruction neglecting higher-particle cumulants. Also, we present the details of the algorithm to compute 3-RDM of the DMRG wavefunction as an extension of the 2-RDM algorithm of Zgid et al. [J. Chem. Phys. 128, 144115 (2008)] and Chan et al. [J. Chem. Phys. 128, 144117 (2008)]. The performance of the extended DMRG-CASPT2 approach was examined for large-scale multireference systems, such as low-lying excited states of long-chain polyenes and isomerization potential of {[Cu(NH3)3]2O2}(2+).
This paper describes an interface between the density matrix renormalization group (DMRG) method and the complete active-space self-consistent field (CASSCF) method and its analytical gradient, as well as an extension to the second-order perturbation theory (CASPT2) method. This interfacing allows large active-space multi-reference computations to be easily performed. The interface and its extension are both implemented in terms of reduced density matrices (RDMs) which can be efficiently computed via the DMRG sweep algorithm. We also present benchmark results showing that, in practice, the DMRG-CASSCF calculations scale with active-space size in a polynomial manner in the case of quasi-1D systems. Geometry optimization of a binuclear iron-sulfur cluster using the DMRG-CASSCF analytical gradient is demonstrated, indicating that the inclusion of the valence p-orbitals of sulfur and double-shell d-orbitals of iron lead to non-negligible changes in the geometry compared to the results of small active-space calculations. With the exception of the selection of M values, many computational settings in these practical DMRG calculations have been tuned and black-boxed in our interface, and so the resulting DMRG-CASSCF and DMRG-CASPT2 calculations are now available to novice users as a common tool to compute strongly correlated electronic wavefunctions.