, where N is proportional to the system size. Therefore, performing accurate calculations on chemically meaningful systems requires (i) approximations that can lower the computational scaling and (ii) efficient implementations that take advantage of modern massively parallel architectures. Quantum Package is an open-source programming environment for quantum chemistry specially designed for wave function methods. Its main goal is the development of determinant-driven selected configuration interaction (sCI) methods and multireference second-order perturbation theory (PT2). The determinant-driven framework allows the programmer to include any arbitrary set of determinants in the reference space, hence providing greater methodological freedom. The sCI method implemented in Quantum Package is based on the CIPSI (Configuration Interaction using a Perturbative Selection made Iteratively) algorithm which complements the variational sCI energy with a PT2 correction. Additional external plugins have been recently added to perform calculations with multireference coupled cluster theory and range-separated density-functional theory. All the programs are developed with the IRPF90 code generator, which simplifies collaborative work and the development of new features. Quantum Package strives to allow easy implementation and experimentation of new methods, while making parallel computation as simple and efficient as possible on modern supercomputer architectures. Currently, the code enables, routinely, to realize runs on roughly 2 000 CPU cores, with tens of millions of determinants in the reference space. Moreover, we have been able to push up to 12 288 cores in order to test its parallel efficiency. In the present manuscript, we also introduce some key new developments: (i) a renormalized second-order perturbative correction for efficient extrapolation to the full CI limit and (ii) a stochastic version of the CIPSI selection performed simultaneously to the PT2 calculation at no extra cost.
macroqc is a quantum chemistry software package designed for high-accuracy electronic structure computations and large-scale molecular simulations. The macroqc framework provides efficient implementations of energies and analytic gradients for a wide range of many-body perturbation theory and coupled-cluster (CC) methods. In particular, the analytic gradient implementations of second-order Møller-Plesset perturbation theory (MP2), coupled-cluster singles and doubles (CCSD), and CCSD with perturbative triples [CCSD(T)] exhibit excellent computational performance, even in comparison with established commercial quantum chemistry programs. In addition to conventional correlated methods, macroqc incorporates several advanced capabilities, including molecular fragmentation techniques for ground and excited state molecular systems and density-fitted analytic gradients. The software also supports interoperability with selected external packages through a flexible plugin framework, allowing developers to construct customized interfaces and extensions. The notable features of macroqc are the linear-scaling systematic molecular fragmentation (LSSMF) and the cluster-in-molecule (CIM) approaches, which enable the application of high-level post-Hartree-Fock approaches to large molecular systems that would otherwise be computationally prohibitive. Furthermore, the new machine learning (ML) library enables the integration of data-driven approaches into quantum chemical workflows, providing efficient tools for developing and applying ML-based models for molecular property prediction and electronic structure computations. With its combination of efficient implementations, advanced theoretical methods, and extensible design, macroqc is expected to serve as a useful platform for a broad range of computational chemistry applications.
Abstract Quantum computing is aimed to solve tasks, which are believed to be exponentially hard to existing computational devices and tools. A prominent example of such classically hard problems is simulating complex quantum many-body systems, in particular, for quantum chemistry. However, solving realistic quantum chemistry problems with quantum computers encounters various difficulties, which are related, first, to limited computational capabilities of existing quantum devices and, second, to the efficiency of algorithmic approaches. In the present work, we address the algorithmic side of quantum chemistry applications by introducing a Python 3 code library, whose primary objective is to speed up the development of variational quantum algorithms for electronic structure problems. We describe the various features and capabilities of this library, including its ease in constructing customized versions of variational quantum algorithms. We elucidate how the developed library allows one to design quantum circuits and enable for the efficient execution of quantum algorithms. Furthermore, the library facilitates the integration of classical and quantum algorithms for hybrid computations and helps to realize the cross-verification of data with traditional computational methods, thereby enhancing the overall reliability of quantum chemistry simulations.
We present Siam Quantum 2, the next generation of the open-source C program originally published in 2012 for Hartree-Fock electronic structure calculations [T. Khamla and T. Chachiyo, KKU Research Journal (Graduate Studies) 12(3), 8-28 (2012)], developed in Thailand (historically known as Siam) as a platform for quantum chemistry research and education. Over the past decade, Siam Quantum has evolved into a modular toolbox supporting a wide range of quantum modeling capabilities, including density functional theory, second-order Møller-Plesset perturbation theory, analytic energy gradients, molecular geometry optimization, quantum molecular dynamics, and minimum energy crossing point search. The present version introduces an extensible C architecture designed for method development, readability, and performance on multi-CPU environments. Each computational module is accompanied by human-readable Markdown documentation that contains LaTeX-style equations and programming guides, bridging the theoretical formulation and source code and facilitating future computational development. This paper describes the program's design philosophy, theoretical framework, and implementation details. We also highlight studies by various research groups that have made use of Siam Quantum, illustrating how the software can be used for quantum modeling and electronic structure studies.