Artificial Intelligence was not ready in 2021 when we started the project . . .Reality . . .so we decided to use Natural Intelligence, and add a human layer between the machine and the researchers : a biological compiler Need to compile the code with GPU compiler (Nvfortran) May not compile, or with low CPU efficiency Our solution: decouple QMCkl-CPU and QMCkl-GPU and recover CPU performance with QMCkl-CPU RocBLAS ∼ CuBLAS, but some OpenMP kernels have 10× lower performance on AMD GPUs than Nvidia (under investigation. . . ) Unreliable software stack: =⇒ Compared to CPU, very inefficient in human resources Open Question: Should we have opted instead for vendor-specific implementations?(Cuda, HIP)
Artificial Intelligence was not ready in 2021 when we started the project . . .Reality . . .so we decided to use Natural Intelligence, and add a human layer between the machine and the researchers : a biological compiler Need to compile the code with GPU compiler (Nvfortran) May not compile, or with low CPU efficiency Our solution: decouple QMCkl-CPU and QMCkl-GPU and recover CPU performance with QMCkl-CPU RocBLAS ∼ CuBLAS, but some OpenMP kernels have 10× lower performance on AMD GPUs than Nvidia (under investigation. . . ) Unreliable software stack: =⇒ Compared to CPU, very inefficient in human resources Open Question: Should we have opted instead for vendor-specific implementations?(Cuda, HIP)
Quantum Monte Carlo (QMC) methods deliver highly accurate electronic structure calculations but are computationally intensive. The quantum Monte Carlo kernel library (QMCkl) provides a modular, portable collection of high-performance kernels implementing the core building blocks of QMC calculations. It offers a C-compatible application programming interface, supports the TREXIO standard for input, and covers essential QMC kernels including atomic and molecular orbitals, cusp corrections, the Jastrow factor, and the necessary derivatives also to perform variational and structural optimization. QMCkl separates algorithmic development from hardware-specific tuning by combining human-readable reference implementations with performance-optimized kernels that produce identical numerical results. The library enables consistent, efficient, and reproducible simulations across different QMC codes and architectures and achieves substantial speedups in the evaluation of the energy and its derivatives. Beyond QMC, QMCkl can accelerate deterministic quantum chemistry workflows and visualization tools, promoting cross-code interoperability and simplifying high-performance scientific software development.
There are three different Quantum Monte Carlo (QMC) codes in the Targeting REal chemical accuracy at the eXascale (TREX) Center of Excellence (CoE), TurboRVB, Champ, and QMC=Chem, each with its own strengths and weaknesses. Instead of optimizing the three codes independently for exascale architectures, or re-writing a new monolithic code, our strategy is instead to design a new library, Quantum Monte Carlo kernel library (QMCkl), containing the state-of-the-art expertise in the implementation of specific kernels present in each of the three codes. The functions available in this library will allow all the codes to benefit from the optimal implementation of the major kernels of QMC. The three main objectives driving the development of QMCkl are performance, productivity and portability.
We introduce a new high-performance design for parallelism within the Quantum Monte Carlo code QMCPACK. We demonstrate that the new design is better able to exploit the hierarchical parallelism of heterogeneous architectures compared to the previous GPU implementation. The new version is able to achieve higher GPU occupancy via the new concept of crowds of Monte Carlo walkers, and by enabling more host CPU threads to effectively offload to the GPU. The higher performance is expected to be achieved independent of the underlying hardware, significantly improving developer productivity and reducing code maintenance costs. Scientific productivity is also improved with full support for fallback to CPU execution when GPU implementations are not available or CPU execution is more optimal.
Objective: To synthesize the state of the art on how quantum computing (QC) and artificial intelligence (AI) intersect, including algorithmic foundations, software/hardware stacks, empirical evidence of advantage, applications, and open challenges. Methods: We executed a structured search (2019 – 20th August 2025) across major journals (Nature portfolio, APS/PR, Elsevier), arXiv, and official framework documentation (Qiskit, Cirq/TFQ, PennyLane; AWS Braket; NVIDIA CUDA-Q). We included peer‑reviewed studies, comprehensive surveys, and official docs; we excluded opinion pieces and non-reproducible claims. Results: The field converges on hybrid quantum‑classical workflows with two dominant AI families: (i) quantum kernel methods and (ii) variational circuits/QNNs. Trainability remains a core challenge (barren plateaus and noise), with mitigation strategies advancing (local costs, layerwise training, engineered dissipation, learned decoders). Frameworks and cloud orchestrators now support end‑to‑end hybrid training. Empirical “utility” demonstrations in physics‑inspired tasks exist, while domain‑level advantage in mainstream ML is unproven and data‑dependent. Conclusions: QC‑AI integration is maturing into reproducible hybrid stacks. Near‑term value lies in quantum kernels with tailored feature maps, physics‑regularized QNNs, simulator‑accelerated pipelines, and AI‑for‑QC (calibration/decoding). Broad ML advantage awaits lower‑noise hardware and quantum‑friendly data embeddings.
There is a great deal of focus on how quantum computing as an accelerator differs from other traditional high-performance computing (HPC) resources, including accelerators like GPUs and field-programmable gate arrays. In classical computing, how to design the interfaces that connect the different layers of the software stack, from the applications and high-level programming language description, through compilers and schedulers, and down to the hardware and gate level, has been critical. Likewise, quantum computing’s interfaces enable access to quantum technology as a viable accelerator. From the ideation of the quantum application to the manipulation of the quantum chip, each interface has its challenges. In this article, we discuss the structure of this set of quantum interfaces, their many similarities to the traditional HPC compilation stack, and how these interfaces impact the potential of quantum computers as HPC accelerators.
We introduce qclab++, a light-weight, fully-templated C++ package for GPU-accelerated quantum circuit simulations. The code offers a high degree of portability as it has no external dependencies and the GPU kernels are generated through OpenMP offloading. qclab++ is designed for performance and numerical stability through highly optimized gate simulation algorithms for 1-qubit, controlled 1-qubit, and 2-qubit gates. Furthermore, we also introduce qclab, a quantum circuit toolbox for Matlab with a syntax that mimics qclab++. This provides users the flexibility and ease of use of a scripting language like Matlab for studying their quantum algorithms, while offering high-performance GPU acceleration when required. As such, the qclab++ library offers a unique combination of features. We compare the CPU simulator in qclab++ with the GPU kernels generated by OpenMP and observe a speedup of over 40×. Furthermore, we also compare qclab++ to other circuit simulation packages, such as cirq-qsim and qibo, in a series of benchmarks conducted on NERSC's Perlmutter system and illustrate its competitiveness.