By using the numerical renormalization group (NRG) method, we construct a large dataset with about one million spectral functions of the Anderson quantum impurity model. The dataset contains the density of states (DOS) of the host material, the strength of Coulomb interaction between on-site electrons (U), and the hybridization between the host material and the impurity site (Γ). The continued DOS and spectral functions are stored with Chebyshev coefficients and wavelet functions, respectively. From this dataset, we build seven different machine learning networks to predict the spectral function from the input data, DOS, U, and Γ. Three different evaluation indexes, mean absolute error (MAE), relative error (RE) and root mean square error (RMSE), are used to analyze the prediction abilities of different network models. Detailed analysis shows that, for the two kinds of widely used recurrent neural networks (RNNs), gate recurrent unit (GRU) has better performance than the long short term memory (LSTM) network. A combination of bidirectional GRU (BiGRU) and GRU has the best performance among GRU, BiGRU, LSTM, and BiLSTM. The MAE peak of BiGRU+GRU reaches 0.00037. We have also tested a one-dimensional convolutional neural network (1DCNN) with 20 hidden layers and a residual neural network (ResNet), we find that the 1DCNN has almost the same performance of the BiGRU+GRU network for the original dataset, while the robustness testing seems to be a little weak than BiGRU+GRU when we test all these models on two other independent datasets. The ResNet has the worst performance among all the seven network models. The datasets presented in this paper, including the large data set of the spectral function of Anderson quantum impurity model, are openly available at https://doi.org/10.57760/sciencedb.j00113.00192 .
By using the numerical renormalization group (NRG) method, we construct a large dataset with about one million spectral functions of the Anderson quantum impurity model. The dataset contains the density of states (DOS) of the host material, the strength of Coulomb interaction between on-site electrons (U), and the hybridization between the host material and the impurity site (Γ). The continued DOS and spectral functions are stored with Chebyshev coefficients and wavelet functions, respectively. From this dataset, we build seven different machine learning networks to predict the spectral function from the input data, DOS, U, and Γ. Three different evaluation indexes, mean absolute error (MAE), relative error (RE) and root mean square error (RMSE), are used to analyze the prediction abilities of different network models. Detailed analysis shows that, for the two kinds of widely used recurrent neural networks (RNNs), gate recurrent unit (GRU) has better performance than the long short term memory (LSTM) network. A combination of bidirectional GRU (BiGRU) and GRU has the best performance among GRU, BiGRU, LSTM, and BiLSTM. The MAE peak of BiGRU+GRU reaches 0.00037. We have also tested a one-dimensional convolutional neural network (1DCNN) with 20 hidden layers and a residual neural network (ResNet), we find that the 1DCNN has almost the same performance of the BiGRU+GRU network for the original dataset, while the robustness testing seems to be a little weak than BiGRU+GRU when we test all these models on two other independent datasets. The ResNet has the worst performance among all the seven network models. The datasets presented in this paper, including the large data set of the spectral function of Anderson quantum impurity model, are openly available at https://doi.org/10.57760/sciencedb.j00113.00192 .
Abstract Using numerical renormalization group calculation, we construct a dataset with 100 K samples, and train six different neural networks for the prediction of spectral functions from density of states (DOS) of the host material. We find that a combination of gated recurrent unit (GRU) network and bidirectional GRU (BiGRU) performances the best among all the six neural networks. The mean absolute error of the GRU + BiGRU network can reach 0.052 and 0.043 when this network is evaluated on the original dataset and two other independent datasets. The average time of spectral function predictions from machine learning is on the scale of 10 −5 –10 −6 that of traditional impurity solvers for Anderson impurity model. This investigation pave the way for the application of recurrent neural network and convolutional neural network in the prediction of spectral functions from DOSs in machine learning solvers of magnetic impurity problems.
The Anderson Impurity Model (AIM) is a canonical model of quantum many-body physics. Here we investigate whether machine learning models, both neural networks (NN) and kernel ridge regression (KRR), can accurately predict the AIM spectral function in all of its regimes, from empty orbital, to mixed valence, to Kondo. To tackle this question, we construct two large spectral databases containing approximately 410 000 and 600 000 spectral functions of the single-channel impurity problem. We show that the NN models can accurately predict the AIM spectral function in all of its regimes, with pointwise mean absolute errors down to 0.003 in normalized units. We find that the trained NN models outperform models based on KRR and enjoy a speedup on the order of 105 over traditional AIM solvers. The required size of the training set of our model can be significantly reduced using farthest point sampling in the AIM parameter space, which is important for generalizing our method to more complicated multichannel impurity problems of relevance to predicting the properties of real materials.
Abstract To understand the intricate exchange between electrons of different bands in strongly correlated materials, it is essential to treat multi-orbital models accurately. For this purpose, dynamical mean-field theory (DMFT) provides an established framework, whose scope crucially hinges on the availability of efficient quantum impurity solvers. Here we present a real-frequency impurity solver based on neural quantum states (NQS) combined with an operator-Lanczos construction. NQS are an asymptotically unbiased variational ground-state ansatz that employs neural networks to capture long-range correlations on complicated graph structures. We leverage this ability to solve multi-orbital impurity problems using a systematically improvable Segmented Commutator Operator-Lanczos (SCOL) construction. Our benchmarks on both the single-orbital Anderson model and the multi-orbital Hubbard–Kanamori impurity Hamiltonian reveal excellent ground-state precision and the capacity to accurately resolve zero temperature spectral functions and self-energies. These results open avenues for extending DMFT to more challenging problems. Repository contents This repository contains the figures, data, and plotting script used to recreate Fig. 2 and Fig. 3 of “Operator Lanczos Approach enabling Neural Quantum States as Real Frequency Impurity Solvers”. The notebook reproduces spectral functions and self-energies for the Single Anderson Impurity Model (SIAM) and a Hubbard–Kanamori system with two and three orbitals (MO2, MO3). The files in this repsitory are: `plot.ipynb` – matplotlib script that reads the HDF5 files and generate the publication figures. `data/SIAM_plot.h5` – SIAM spectral/self-energy data grouped into three panels (`panel_left`, `panel_mid`, `panel_right`) with metadata for interaction strength `U`, segment depth `l_s`, and method `kind` (`NQS` or `NRG` -> for reference). `data/MO_plot.h5` – MO2 and MO3 results. `MO2` contains frequency `omega`, spectral function `A` and self-energy arrays (`omega_Sigma`, `Sigma_im_nqs` and NRG references). `MO3` holds NRG spectra plus frequncies `omega` and spectral function `A_nqs` for `l_s = 2,3,4`. `siam_square.pdf` – rendered SIAM figure (Fig. 2 in the paper). `mo.pdf` – rendered MO figure (Fig. 3 in the paper). Requirements Python 3 with `numpy`, `matplotlib`, and `h5py`. Jupyter (if you want to run the notebook interactively). A LaTeX installation (e.g., TeX Live) so matplotlib can render TeX labels (`text.usetex=True` is enabled). Install the Python packages locally (examples): pip install numpy matplotlib h5py jupyter Notes - The notebook uses Computer Modern fonts via LaTeX; if TeX is missing you can disable `text.usetex` inside the first code cell. - Data are already curated for plotting, no additional preprocessing is needed beyond loading the HDF5 datasets described above. - Tested versions (newer should also work): `numpy==1.26.4`, `matplotlib==3.10.0`, `h5py==3.13.0`, `jupyter==1.1.1`.
Correct prediction of the molecular ground-state energy is a fundamental problem in quantum chemistry, materials science and drug screening and discovery which directly impacts the understanding of the stability and chemical behavior of molecules. For complex molecular systems, traditional computational techniques like the Hartree-Fock and the Density Functional Theory (DFT) can be very costly. The improvement of molecular energy prediction efficiency and accuracy has recently opened new possibilities thanks to the progress in quantum computation and deep learning. In this paper, a hybrid Quantum Deep Learning Framework for Accurate Molecular Ground-State Energy Prediction in Complex Chemical Systems combining Variational Quantum Algorithms and Deep Neural Network Architectures is proposed. The framework builds molecular Hamiltonians, optimizes the quantum state with the Variational Quantum Eigensolver (VQE), and builds quantum-generated features for deep learning-based energy estimation. Performance measures used for the evaluation of the proposed model are Root Mean Square Error (RMSE), Mean Absolute Error (MAE) and Coefficient of Determination (R²). The proposed Quantum Deep Learning Framework has shown Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and R2 values equal to 0.042, 0.031, and 0.989 correspondingly, which proves higher performance from the standpoint of prediction. Prediction precision of the developed approach reaches 98.9% and exceeds that of all other methods known, including VQE, ADAPT-VQE, FermiNet, and Deep Schrödinger. Besides that, the proposed approach showed faster convergence, lower prediction variance, and higher computational efficiency during the molecular energies' prediction process. The results suggest that the proposed hybrid quantum-classical approach is promising and efficient for ground-state energy prediction of molecules, as well as useful in computational chemistry, materials discovery, and molecular design, and is scalable.
Abstract Quantum machine learning is a relatively new research field that aims to combine the dramatic performance advantage offered by quantum computing and the ability of machine learning algorithms to learn complex distributions of high-dimensional data. The primary focus of this domain is the implementation of classical machine learning algorithms in the quantum mechanical domain and study of the speedup due to quantum parallelism, which could enable the development of novel techniques for solving problems such as quantum phase recognition and quantum error correction optimization. In this paper, we propose a hybrid quantum machine learning pipeline for predicting the atomization energies of various molecules using the nuclear charges and atomic positions of the constituent atoms. Firstly, we will be using a deep convolutional auto-encoder model for the feature extraction of data constructed from the eigenvalues and eigenvector centralities of the pairwise distance matrix calculated from atomic positions and the unrolled upper triangle of each Coulomb matrix calculated from nuclear charges, and we will then be using a quantum regression algorithm such as quantum linear regression, quantum radial basis function neural network and, a quantum neural network for estimating the atomization energy. The hybrid quantum neural network models do not seem to provide any speedup over their classical counterparts. Before implementing a quantum algorithm, we will also be using state-of-the-art classical machine learning and deep learning models such as XGBoost, multilayer perceptron, deep convolutional neural network, and a long short-term memory network to study the correlation between the extracted features and corresponding atomization energies of molecules.
Quantum computers has the potential to outperform classical computers for certain tasks, but the practical use of quantum computers is limited by noise and errors in quantum systems. Quantum Error Correction (QEC) provides a way for detecting and correcting these errors, but in the presence of complex and correlated noise, efficient decoding still remains a significant challenge. In this thesis, neural network-based decoders are explored as an approach to decode QEC data. In particular, recurrent neural network (RNN) architectures, including Gated Recurrent Unit (GRU) and Long Short-Term Memory (LSTM), are investigated as their are able to capture temporal dependencies and model sequential data. GRU and LSTM models are trained using the data generated with the help of the Stim simulator for quantum circuits that are based on experimental setups. The models are trained to classify error occurrences from detection event data and evaluated under different configurations, including varying number of rounds, code distance and input representation. The results show that both GRU and LSTM models can learn error patterns for shorter sequences and provide competitive decoding performance. However, for longer sequences the models struggle. Overall, this work demonstrates that relatively simple neural network models can be used as alternatives to traditional decoding methods and highlights the potential of machine learning approaches for improving quantum error correction.