This tutorial can be downloaded link.

Intro Tutorial 5: Quantum Defect Embedding Theory (QDET) Calculations

This tutorial shows how to compute excitation energies of the negatively charged nitrogen-vacancy defect (NV\(^-\)) in diamond using the Quantum Defect Embedding Theory (QDET). In QDET, a set of selected Kohn-Sham (KS) orbitals forms the active space. The effective Hamiltonian that describes excitations within the active space is formulated as:

\[H^{\text{eff}} = \sum_{ij}^A t^{\text{eff}}_{ij}\hat{a}_i^\dagger \hat{a}_j + \frac{1}{2} \sum_{ijkl}^A v^{\text{eff}}_{ijkl} \hat{a}_i^\dagger \hat{a}_j^\dagger \hat{a}_l \hat{a}_k,\]

where \(t^{\text{eff}}\) and \(v^{\text{eff}}\) are the effective one- and two-body terms, respectively. Exact diagonalization of the effective Hamiltonian yields the excitations of the spin defect. More details about the method, and definitions for \(t^{\text{eff}}\) and \(v^{\text{eff}}\) can be found in N. Sheng, C. Vorwerk, M. Govoni, and G. Galli, J. Chem. Theory Comput. 18, 3512 (2022).

QDET calculations are performed in two separate steps: 1. The parameters \(t^{\text{eff}}\) and \(v^{\text{eff}}\) are calculated from first principles and written to file. 2. The effective Hamiltonian is constructed from the parameters read from file. Exact diagonalization is used to find the lowest eigenvalues and eigenvectors of the effective Hamiltonian.

Step 1: Parameters of the effective Hamiltonian

The parameters of the effective Hamiltonian \(H^{\text{eff}}\) are calculated from first principles by: - 1.1 Carrying out a mean-field starting point calculation using density-functional theory (DFT) - 1.2 Computing the projective dielectric eigendcomposition (PDEP) - 1.3 Computing \(t^{\text{eff}}\) and \(v^{\text{eff}}\) for a chosen active space, and saving them to file

Step 1.1: Mean-field starting point

As a first step, we perform the mean-field electronic structure calculation within DFT using the Quantum ESPRESSO code.

Download the following files in your working directory:

[1]:
%%bash
wget -N -q https://west-code.org/doc/training/nv_diamond_63/pw.in
wget -N -q http://www.quantum-simulation.org/potentials/sg15_oncv/upf/C_ONCV_PBE-1.2.upf
wget -N -q http://www.quantum-simulation.org/potentials/sg15_oncv/upf/N_ONCV_PBE-1.2.upf

We inspect the pw.in file, the input for the pw.x code:

[2]:
%%bash
cat pw.in
&CONTROL
calculation = 'scf'
pseudo_dir = './'
/
&SYSTEM
input_dft = 'PBE'
ibrav = 0
ecutwfc = 50
tot_charge = -1
nspin = 1
nbnd = 176
occupations = 'from_input'
nat = 63
ntyp = 2
/
&ELECTRONS
diago_full_acc = .true.
/
K_POINTS gamma
CELL_PARAMETERS angstrom
7.136012  0.000000  0.000000
0.000000  7.136012  0.000000
0.000000  0.000000  7.136012
ATOMIC_SPECIES
C  12.01099968  C_ONCV_PBE-1.2.upf
N  14.00699997  N_ONCV_PBE-1.2.upf
ATOMIC_POSITIONS crystal
C    0.99996000  0.99996000  0.99996000
C    0.12495000  0.12495000  0.12495000
C    0.99905000  0.25039000  0.25039000
C    0.12350000  0.37499000  0.37499000
C    0.25039000  0.99905000  0.25039000
C    0.37499000  0.12350000  0.37499000
C    0.25039000  0.25039000  0.99905000
C    0.37499000  0.37499000  0.12350000
C    0.00146000  0.00146000  0.50100000
C    0.12510000  0.12510000  0.62503000
C    0.00102000  0.24944000  0.74960000
C    0.12614000  0.37542000  0.87402000
C    0.24944000  0.00102000  0.74960000
C    0.37542000  0.12614000  0.87402000
C    0.24839000  0.24839000  0.49966000
C    0.37509000  0.37509000  0.61906000
C    0.00146000  0.50100000  0.00146000
C    0.12510000  0.62503000  0.12510000
C    0.00102000  0.74960000  0.24944000
C    0.12614000  0.87402000  0.37542000
C    0.24839000  0.49966000  0.24839000
C    0.37509000  0.61906000  0.37509000
C    0.24944000  0.74960000  0.00102000
C    0.37542000  0.87402000  0.12614000
C    0.99883000  0.50076000  0.50076000
C    0.12502000  0.62512000  0.62512000
C    0.99961000  0.74983000  0.74983000
C    0.12491000  0.87493000  0.87493000
C    0.25216000  0.50142000  0.74767000
C    0.37740000  0.62659000  0.87314000
C    0.25216000  0.74767000  0.50142000
C    0.37740000  0.87314000  0.62659000
C    0.50100000  0.00146000  0.00146000
C    0.62503000  0.12510000  0.12510000
C    0.49966000  0.24839000  0.24839000
C    0.61906000  0.37509000  0.37509000
C    0.74960000  0.00102000  0.24944000
C    0.87402000  0.12614000  0.37542000
C    0.74960000  0.24944000  0.00102000
C    0.87402000  0.37542000  0.12614000
C    0.50076000  0.99883000  0.50076000
C    0.62512000  0.12502000  0.62512000
C    0.50142000  0.25216000  0.74767000
C    0.62659000  0.37740000  0.87314000
C    0.74983000  0.99961000  0.74983000
C    0.87493000  0.12491000  0.87493000
C    0.74767000  0.25216000  0.50142000
C    0.87314000  0.37740000  0.62659000
C    0.50076000  0.50076000  0.99883000
C    0.62512000  0.62512000  0.12502000
C    0.50142000  0.74767000  0.25216000
C    0.62659000  0.87314000  0.37740000
C    0.74767000  0.50142000  0.25216000
C    0.87314000  0.62659000  0.37740000
C    0.74983000  0.74983000  0.99961000
C    0.87493000  0.87493000  0.12491000
N    0.48731000  0.48731000  0.48731000
C    0.49191000  0.76093000  0.76093000
C    0.62368000  0.87476000  0.87476000
C    0.76093000  0.49191000  0.76093000
C    0.87476000  0.62368000  0.87476000
C    0.76093000  0.76093000  0.49191000
C    0.87476000  0.87476000  0.62368000
OCCUPATIONS
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 1 1 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0

We run pw.x on 2 cores.

[ ]:
%%bash
mpirun -n 2 pw.x -i pw.in > pw.out

We note that the calculation is spin unpolarized (i.e., nspin=1) in order to reduce spin contamination. The parameter ecutwfc and the size of the supercell may be increased to converge the results.

Step 1.2: Calculation of dielectric screening

As for GW calculations with WEST, we first determine the dielectric screening before we can proceed to calculate the excitations of the spin defect. In WEST, the dielectric screening is obtained from the projective dielectric eigendecomposition (PDEP). The calculation with wstat.x requires an input file wstat.in.

Download the following file in your working directory:

[3]:
%%bash
wget -N -q https://west-code.org/doc/training/nv_diamond_63/wstat.in

Once again, we can have a look at the input file:

[4]:
%%bash
cat wstat.in
wstat_control:
  wstat_calculation: S
  n_pdep_eigen: 512
  trev_pdep: 0.00001

As we can see, there are no input parameters in wstat.in specific to QDET. The number of PDEPs, n_pdep_eigen, may be increased to converge the results.

We run wstat.x on 2 cores.

[ ]:
%%bash
mpirun -n 2 wstat.x -i wstat.in > wstat.out

Step 1.3: QDET calculation

The calculation of the paramters for the effective Hamiltonian is carried out by using the wfreq.x program. The program will: (i) compute the \(G_0W_0\) quasiparticle energies, (ii) compute the partially screened Coulomb potential, and (iii) finally compute the parameters of the effective Hamiltonian.

Download the following file in your working directory:

[5]:
%%bash
wget -N -q https://west-code.org/doc/training/nv_diamond_63/wfreq.in

Let us again inspect the file wfreq.in:

[6]:
%%bash
cat wfreq.in
wstat_control:
  wstat_calculation: S
  n_pdep_eigen: 512
  trev_pdep: 0.00001

wfreq_control:
  wfreq_calculation: XWGQH
  macropol_calculation: C
  l_enable_off_diagonal: true
  n_pdep_eigen_to_use: 512
  qp_bands: [87, 122, 123, 126, 127, 128]
  n_refreq: 300
  ecut_refreq: 2.0

The QDET calculation is triggered by the keyword H (for effective Hamiltonian) in the variable wfreq_calculation. The KS states that define the active space are selected with the variable qp_bands (in our case states 87, 122, 123, 126, 127, and 128). The active space may be chosen to be a set of localized defect orbitals in the supercell. See Tutorial 6 for the identification of the localized orbitals.

For QDET, it is mandatory to set the flag l_enable_off_diagonal : true which activates the calculation of off-diagonal entries of the GW self-energy matrix.

We run wfreq.x on 2 cores.

[ ]:
%%bash
mpirun -n 2 wfreq.x -i wfreq.in > wfreq.out

If the reader does NOT have the computational resources to run the calculation, the WEST output file needed for the next step can be directly downloaded as:

[7]:
%%bash
mkdir -p west.wfreq.save
wget -N -q https://west-code.org/doc/training/nv_diamond_63/wfreq.json -O west.wfreq.save/wfreq.json

Step 2: Exact diagonalization of the effective Hamiltonian

The effective Hamiltonian is constructed and diagonalized using the WESTpy Python package.

[8]:
from westpy.qdet import QDETResult

# construct object for effective Hamiltonian
effective_hamiltonian = QDETResult(filename='west.wfreq.save/wfreq.json')

# diagonalize Hamiltonian
solution = effective_hamiltonian.solve()

 _    _ _____ _____ _____
| |  | |  ___/  ___|_   _|
| |  | | |__ \ `--.  | |_ __  _   _
| |/\| |  __| `--. \ | | '_ \| | | |
\  /\  / |___/\__/ / | | |_) | |_| |
 \/  \/\____/\____/  \_/ .__/ \__, |
                       | |     __/ |
                       |_|    |___/

WEST version     :  5.5.0
Today            :  2024-02-02 13:54:03.951228
-----------------------------------------------------
===============================================================
Building effective Hamiltonian...
nspin: 1
occupations: [[2. 2. 2. 2. 1. 1.]]
===============================================================
diag[1RDM - 1RDM(GS)]
E [eV] char 87 122 123 126 127 128
0 0.000 3- 0.000 0.000 0.000 0.000 0.000 0.000
1 0.436 1- -0.001 -0.009 -0.018 -0.067 0.004 0.091
2 0.436 1- -0.001 -0.009 -0.018 -0.067 0.092 0.002
3 1.251 1- -0.002 -0.019 -0.023 -0.067 0.054 0.057
4 1.939 3- -0.003 -0.010 -0.127 -0.860 1.000 0.000
5 1.940 3- -0.003 -0.010 -0.127 -0.860 0.000 1.000
6 2.935 1- -0.000 -0.032 -0.043 -0.855 0.929 0.002
7 2.936 1- -0.000 -0.032 -0.043 -0.855 0.002 0.929
8 4.661 1- -0.006 -0.054 -0.188 -1.672 0.960 0.960
9 5.080 3- -0.014 -0.698 -0.213 -0.075 1.000 0.000
-----------------------------------------------------

Calling the function solve() of the object QDETResult writes the excitation energies (in eV), spin multiplicity and relative occupation (compared to the occupation of the ground state) to screen.

Let us consider the first excited state (# 1) as an example: It has an energy of 0.436 eV above the ground state, has spin multiplicity 1 (i.e., it is a singlet), and is two-fold degenerate because state # 2 has the same energy. From the one-body reduced density matrix (1RDM) analysis we see that 1 electron has been subtracted majorily from state 126 and it has been promoted to state 127 and state 128.

More detailed information about the excitations is stored in the dictionary solution:

[9]:
for key in solution.keys() :
    print(f'{key}:{solution[key]}')
nstates:10
nelec:(5, 5)
norb:6
evs_au:[4.18773738 4.20375853 4.20377099 4.23369325 4.25900775 4.25903557
 4.29560564 4.29564459 4.35901051 4.37440862]
evs:[0.         0.43595765 0.4362967  1.25052286 1.93936548 1.94012256
 2.93524492 2.93630467 4.66057925 5.07958334]
evcs:[FCIvector([[-3.29674537e-15, -7.07106780e-01,  2.04533335e-05,
             1.18588538e-06, -3.83162589e-06, -3.47414437e-06],
           [ 7.07106780e-01, -9.51376896e-15, -1.74794368e-05,
            -1.22602660e-05,  3.91099022e-06, -9.13376476e-06],
           [-2.04533335e-05,  1.74794368e-05,  2.67694696e-15,
            -4.58827377e-08, -4.86043103e-09,  2.27797193e-09],
           [-1.18588539e-06,  1.22602660e-05,  4.58827411e-08,
             2.25803817e-15, -1.73431686e-09, -1.34489761e-08],
           [ 3.83162590e-06, -3.91099022e-06,  4.86042931e-09,
             1.73431285e-09,  5.13921145e-16,  1.02893774e-08],
           [ 3.47414437e-06,  9.13376476e-06, -2.27797523e-09,
             1.34489754e-08, -1.02893782e-08,  3.16781695e-17]]), FCIvector([[ 3.12538484e-01,  5.95944230e-01, -3.50911256e-02,
            -1.80562783e-02,  1.24965791e-02,  4.17552810e-03],
           [ 5.95944230e-01, -3.12051223e-01,  1.80071420e-01,
             9.26888408e-02, -6.41405464e-02, -2.14563627e-02],
           [-3.50911256e-02,  1.80071420e-01, -3.18738147e-05,
            -1.64265509e-05,  1.88637333e-05,  6.60824213e-06],
           [-1.80562783e-02,  9.26888408e-02, -1.64265509e-05,
            -1.01314167e-05,  1.10404861e-05,  4.01739279e-06],
           [ 1.24965791e-02, -6.41405464e-02,  1.88637333e-05,
             1.10404861e-05, -1.10257167e-05, -3.69456119e-06],
           [ 4.17552810e-03, -2.14563627e-02,  6.60824213e-06,
             4.01739279e-06, -3.69456119e-06, -2.41157183e-06]]), FCIvector([[ 5.96312335e-01, -3.12295243e-01, -1.80213182e-01,
            -9.27642035e-02,  6.41747202e-02,  2.14494938e-02],
           [-3.12295243e-01, -5.95466371e-01, -3.50438017e-02,
            -1.80446336e-02,  1.24816933e-02,  4.17671058e-03],
           [-1.80213182e-01, -3.50438017e-02, -4.31209544e-05,
            -2.59415504e-05,  3.12045640e-05,  1.16687310e-05],
           [-9.27642035e-02, -1.80446336e-02, -2.59415504e-05,
            -1.80889552e-05,  1.95961605e-05,  7.50295285e-06],
           [ 6.41747202e-02,  1.24816933e-02,  3.12045640e-05,
             1.95961605e-05, -1.98729076e-05, -6.95051242e-06],
           [ 2.14494938e-02,  4.17671058e-03,  1.16687310e-05,
             7.50295285e-06, -6.95051242e-06, -4.50673561e-06]]), FCIvector([[ 6.86741800e-01, -1.41266545e-05,  1.35628756e-04,
             5.52970947e-05, -1.30059023e-05, -1.72537982e-05],
           [-1.41266545e-05,  6.87671011e-01, -6.23592599e-05,
            -2.01322310e-05,  1.50195573e-05,  7.05911217e-06],
           [ 1.35628756e-04, -6.23592599e-05, -1.44812866e-01,
            -8.22770266e-02,  7.38131648e-02,  2.20258254e-02],
           [ 5.52970947e-05, -2.01322310e-05, -8.22770266e-02,
            -5.11274414e-02,  4.55713555e-02,  1.42122368e-02],
           [-1.30059023e-05,  1.50195573e-05,  7.38131648e-02,
             4.55713555e-02, -4.01199698e-02, -1.20256214e-02],
           [-1.72537982e-05,  7.05911217e-06,  2.20258254e-02,
             1.42122368e-02, -1.20256214e-02, -6.86090150e-03]]), FCIvector([[-5.01382722e-16,  1.95514214e-05,  6.55633140e-01,
             2.52222178e-01, -7.03398038e-02, -3.72904280e-02],
           [-1.95514214e-05,  4.03020591e-15,  1.28136959e-02,
             4.92844122e-03, -1.37219183e-03, -7.28247445e-04],
           [-6.55633140e-01, -1.28136959e-02,  2.92953165e-15,
             4.30231384e-06, -1.23232093e-06,  9.28125066e-06],
           [-2.52222178e-01, -4.92844122e-03, -4.30231383e-06,
             4.06475618e-15,  7.58788857e-08,  3.62186192e-06],
           [ 7.03398038e-02,  1.37219183e-03,  1.23232093e-06,
            -7.58788900e-08, -4.49688379e-15, -9.33925325e-07],
           [ 3.72904280e-02,  7.28247445e-04, -9.28125066e-06,
            -3.62186192e-06,  9.33925324e-07,  2.66801619e-17]]), FCIvector([[ 2.32180023e-15,  2.08775137e-05,  1.28124691e-02,
             4.93008096e-03, -1.37718473e-03, -7.29294080e-04],
           [-2.08775137e-05,  1.04372976e-15, -6.55632257e-01,
            -2.52223545e-01,  7.03430061e-02,  3.72906660e-02],
           [-1.28124691e-02,  6.55632257e-01, -3.09829936e-15,
             4.94194485e-06,  5.46939059e-06,  3.12375521e-06],
           [-4.93008096e-03,  2.52223545e-01, -4.94194485e-06,
             1.55030249e-15,  2.61939724e-06,  1.43147749e-06],
           [ 1.37718473e-03, -7.03430061e-02, -5.46939059e-06,
            -2.61939723e-06,  2.17362586e-16, -3.12871899e-08],
           [ 7.29294080e-04, -3.72906660e-02, -3.12375521e-06,
            -1.43147749e-06,  3.12871900e-08,  6.30543608e-17]]), FCIvector([[ 1.76361569e-01, -6.07620501e-02,  6.53362483e-01,
             1.46162693e-01,  1.27080925e-01,  3.51822166e-03],
           [-6.07620501e-02, -1.76351709e-01,  2.70898668e-02,
             6.05966331e-03,  5.26225182e-03,  1.45118338e-04],
           [ 6.53362483e-01,  2.70898668e-02,  7.67336941e-05,
             4.40799779e-05, -5.23443317e-05, -2.24353377e-05],
           [ 1.46162693e-01,  6.05966331e-03,  4.40799779e-05,
             2.71314791e-05, -2.68176962e-05, -8.97300344e-06],
           [ 1.27080925e-01,  5.26225182e-03, -5.23443317e-05,
            -2.68176962e-05, -1.24684819e-06,  2.23669815e-07],
           [ 3.51822166e-03,  1.45118338e-04, -2.24353377e-05,
            -8.97300344e-06,  2.23669816e-07,  2.72461981e-07]]), FCIvector([[-6.07310836e-02, -1.76193075e-01, -2.70816012e-02,
            -6.05765544e-03, -5.27567482e-03, -1.47043831e-04],
           [-1.76193075e-01,  6.07397706e-02,  6.53405469e-01,
             1.46139732e-01,  1.27126908e-01,  3.52997448e-03],
           [-2.70816012e-02,  6.53405469e-01, -8.38933178e-05,
            -3.09495384e-05,  3.04755776e-05,  1.10834999e-05],
           [-6.05765544e-03,  1.46139732e-01, -3.09495384e-05,
            -1.34823021e-05,  1.29206721e-05,  3.92993231e-06],
           [-5.27567482e-03,  1.27126908e-01,  3.04755776e-05,
             1.29206721e-05,  5.11994265e-06,  1.98582206e-07],
           [-1.47043831e-04,  3.52997448e-03,  1.10834999e-05,
             3.92993231e-06,  1.98582207e-07,  2.09134696e-08]]), FCIvector([[-1.41369620e-01,  5.59970529e-06,  6.45096169e-05,
            -7.33430944e-05,  1.50837972e-04,  2.37874655e-05],
           [ 5.59970529e-06, -1.41453036e-01, -5.77018558e-05,
             1.69718025e-05, -7.03177632e-05, -9.33677847e-06],
           [ 6.45096169e-05, -5.77018558e-05, -8.55594971e-01,
            -2.93717974e-01,  1.24509538e-01,  4.89959042e-02],
           [-7.33430945e-05,  1.69718024e-05, -2.93717974e-01,
            -8.44015042e-02,  1.81574489e-02,  9.27883703e-03],
           [ 1.50837972e-04, -7.03177632e-05,  1.24509538e-01,
             1.81574489e-02,  1.05539065e-01,  1.56811185e-02],
           [ 2.37874656e-05, -9.33677847e-06,  4.89959042e-02,
             9.27883703e-03,  1.56811185e-02,  5.51415477e-03]]), FCIvector([[-8.75257668e-16,  1.49645584e-06,  1.93565918e-01,
            -3.25971355e-01,  5.90778822e-01,  8.40901628e-02],
           [-1.49645585e-06, -6.66523964e-15,  3.71302714e-03,
            -6.25834823e-03,  1.13393545e-02,  1.61378556e-03],
           [-1.93565918e-01, -3.71302714e-03, -2.20386955e-14,
             1.11502076e-05, -1.06972316e-05,  1.85428401e-06],
           [ 3.25971355e-01,  6.25834823e-03, -1.11502076e-05,
             1.76511926e-16, -4.90892504e-06, -4.86268311e-06],
           [-5.90778822e-01, -1.13393545e-02,  1.06972316e-05,
             4.90892505e-06, -1.38350974e-15,  7.81021895e-06],
           [-8.40901628e-02, -1.61378556e-03, -1.85428401e-06,
             4.86268311e-06, -7.81021895e-06,  5.87047197e-17]])]
mults:[3. 1. 1. 1. 3. 3. 1. 1. 1. 3.]
rdm1s:[[[ 2.00000000e+00 -4.48208617e-11 -2.15724724e-10  1.77189327e-10
   -4.91318175e-06 -1.29170940e-05]
  [-4.48208617e-11  2.00000000e+00 -1.04987130e-10  2.93462970e-10
    5.41873690e-06 -5.53097554e-06]
  [-2.15724724e-10 -1.04987130e-10  2.00000000e+00  4.77115666e-10
    1.67709657e-06 -1.73386325e-05]
  [ 1.77189327e-10  2.93462970e-10  4.77115666e-10  2.00000000e+00
   -2.89253806e-05  2.47196567e-05]
  [-4.91318175e-06  5.41873690e-06  1.67709657e-06 -2.89253806e-05
    1.00000000e+00 -7.10610911e-10]
  [-1.29170940e-05 -5.53097554e-06 -1.73386325e-05  2.47196567e-05
   -7.10610911e-10  1.00000000e+00]]

 [[ 1.99904438e+00  2.85680573e-03  4.12832016e-03 -8.02040409e-03
   -1.83714343e-02 -2.29642860e-02]
  [ 2.85680573e-03  1.99145965e+00 -1.23415103e-02  2.39767987e-02
    5.49352135e-02  6.86390823e-02]
  [ 4.12832016e-03 -1.23415103e-02  1.98216550e+00  3.46484545e-02
    7.93777847e-02  9.91900241e-02]
  [-8.02040409e-03  2.39767987e-02  3.46484545e-02  1.93268579e+00
   -1.54224949e-01 -1.92693750e-01]
  [-1.83714343e-02  5.49352135e-02  7.93777847e-02 -1.54224949e-01
    1.00376637e+00 -1.71865459e-02]
  [-2.29642860e-02  6.86390823e-02  9.91900241e-02 -1.92693750e-01
   -1.71865459e-02  1.09087831e+00]]

 [[ 1.99904495e+00  2.85729672e-03  4.13022605e-03 -8.02370062e-03
    1.83726309e-02  2.29657786e-02]
  [ 2.85729672e-03  1.99145162e+00 -1.23566920e-02  2.40050781e-02
   -5.49512252e-02 -6.87226761e-02]
  [ 4.13022605e-03 -1.23566920e-02  1.98213838e+00  3.46993743e-02
   -7.94326067e-02 -9.93468280e-02]
  [-8.02370062e-03  2.40050781e-02  3.46993743e-02  1.93259027e+00
    1.54299085e-01  1.93013801e-01]
  [ 1.83726309e-02 -5.49512252e-02 -7.94326067e-02  1.54299085e-01
    1.09232914e+00  1.72313163e-02]
  [ 2.29657786e-02 -6.87226761e-02 -9.93468280e-02  1.93013801e-01
    1.72313163e-02  1.00244563e+00]]

 [[ 1.99824237e+00  5.67688255e-03  6.36877689e-03 -1.07954649e-02
   -5.93180190e-06 -1.56019856e-05]
  [ 5.67688255e-03  1.98144128e+00 -2.08046159e-02  3.53296609e-02
    8.24167225e-06 -8.65705272e-06]
  [ 6.36877689e-03 -2.08046159e-02  1.97667547e+00  3.95963937e-02
    1.38006030e-05  4.63017387e-05]
  [-1.07954649e-02  3.53296609e-02  3.95963937e-02  1.93265236e+00
   -6.18672083e-05 -1.35224623e-04]
  [-5.93180190e-06  8.24167225e-06  1.38006030e-05 -6.18672083e-05
    1.05421715e+00 -3.88514861e-05]
  [-1.56019856e-05 -8.65705272e-06  4.63017387e-05 -1.35224623e-04
   -3.88514861e-05  1.05677136e+00]]

 [[ 1.99721779e+00  5.24800134e-03  1.88181241e-02 -4.89163439e-02
    1.73427930e-06 -1.41001265e-05]
  [ 5.24800134e-03  1.99010086e+00 -3.54960426e-02  9.22693786e-02
   -2.71829279e-06 -1.70093376e-06]
  [ 1.88181241e-02 -3.54960426e-02  1.87271937e+00  3.30856740e-01
   -9.74686361e-06 -6.11499130e-06]
  [-4.89163439e-02  9.22693786e-02  3.30856740e-01  1.13996199e+00
    2.56693909e-05 -1.15038481e-06]
  [ 1.73427930e-06 -2.71829279e-06 -9.74686361e-06  2.56693909e-05
    1.99961821e+00  1.95356444e-02]
  [-1.41001265e-05 -1.70093376e-06 -6.11499130e-06 -1.15038481e-06
    1.95356444e-02  1.00038179e+00]]

 [[ 1.99721775e+00  5.24828388e-03  1.88183589e-02 -4.89166152e-02
   -4.79212398e-06 -1.65131959e-06]
  [ 5.24828388e-03  1.99009993e+00 -3.54979040e-02  9.22735781e-02
    8.43332729e-06  3.10310899e-06]
  [ 1.88183589e-02 -3.54979040e-02  1.87271796e+00  3.30858118e-01
   -7.16132663e-06  1.03956613e-05]
  [-4.89166152e-02  9.22735781e-02  3.30858118e-01  1.13996437e+00
   -9.55524124e-07 -2.74050503e-05]
  [-4.79212398e-06  8.43332729e-06 -7.16132663e-06 -9.55524124e-07
    1.00038179e+00 -1.95356435e-02]
  [-1.65131959e-06  3.10310899e-06  1.03956613e-05 -2.74050503e-05
   -1.95356435e-02  1.99961821e+00]]

 [[ 1.99997520e+00  8.95727855e-04 -1.03022176e-03  4.60520628e-03
    4.80054309e-04  1.19144172e-03]
  [ 8.95727855e-04  1.96764549e+00  3.72127495e-02 -1.66344915e-01
   -1.73025834e-02 -4.41083380e-02]
  [-1.03022176e-03  3.72127495e-02  1.95719949e+00  1.91322764e-01
    1.98971215e-02  5.08772213e-02]
  [ 4.60520628e-03 -1.66344915e-01  1.91322764e-01  1.14476719e+00
   -8.89498423e-02 -2.27263688e-01]
  [ 4.80054309e-04 -1.73025834e-02  1.98971215e-02 -8.89498423e-02
    1.92881951e+00  3.85076852e-02]
  [ 1.19144172e-03 -4.41083380e-02  5.08772213e-02 -2.27263688e-01
    3.85076852e-02  1.00159313e+00]]

 [[ 1.99997504e+00  8.99061768e-04 -1.03351975e-03  4.62097153e-03
   -4.96319205e-04 -1.22670389e-03]
  [ 8.99061768e-04  1.96762183e+00  3.72204989e-02 -1.66416575e-01
    1.73472986e-02  4.41588280e-02]
  [-1.03351975e-03  3.72204989e-02  1.95721296e+00  1.91305110e-01
   -1.98465486e-02 -5.07601397e-02]
  [ 4.62097153e-03 -1.66416575e-01  1.91305110e-01  1.14465574e+00
    8.88077260e-02  2.26957054e-01]
  [-4.96319205e-04  1.73472986e-02 -1.98465486e-02  8.88077260e-02
    1.00159488e+00 -3.85065207e-02]
  [-1.22670389e-03  4.41588280e-02 -5.07601397e-02  2.26957054e-01
   -3.85065207e-02  1.92893955e+00]]

 [[ 1.99447400e+00  1.60207607e-02  2.96764667e-02 -8.48467771e-02
    5.00594552e-06  3.22753402e-06]
  [ 1.60207607e-02  1.94556653e+00 -7.20827896e-02  1.95907918e-01
   -8.99288621e-06 -3.33670225e-06]
  [ 2.96764667e-02 -7.20827896e-02  1.81238069e+00  5.57618509e-01
   -2.35021544e-05  1.14153352e-06]
  [-8.48467771e-02  1.95907918e-01  5.57618509e-01  3.27567534e-01
    8.66685241e-05  4.56513745e-05]
  [ 5.00594552e-06 -8.99288621e-06 -2.35021544e-05  8.66685241e-05
    1.95998206e+00 -3.19903860e-06]
  [ 3.22753402e-06 -3.33670225e-06  1.14153352e-06  4.56513745e-05
   -3.19903860e-06  1.96002920e+00]]

 [[ 1.98585248e+00  9.93939733e-02  5.48421677e-02  3.25659635e-02
    8.59947526e-11 -1.31210970e-05]
  [ 9.93939733e-02  1.30170360e+00 -3.85295878e-01 -2.28793497e-01
    1.81135158e-06 -2.22048852e-06]
  [ 5.48421677e-02 -3.85295878e-01  1.78740702e+00 -1.26240364e-01
    1.18542826e-06 -1.09158552e-05]
  [ 3.25659635e-02 -2.28793497e-01 -1.26240364e-01  1.92503690e+00
    2.03147364e-07  1.96079511e-05]
  [ 8.59947526e-11  1.81135158e-06  1.18542826e-06  2.03147364e-07
    1.99963172e+00  1.91870235e-02]
  [-1.31210970e-05 -2.22048852e-06 -1.09158552e-05  1.96079511e-05
    1.91870235e-02  1.00036828e+00]]]

Explanation of the keys:

  • nstates : the number of excitations that have been calculated.

  • evs : excitation energies relative to the ground state (in eV).

  • evs_au: absolute energies of the many-body states (in Hartree).

  • mults: spin multiplicity of each state.

  • rdm1s: spin-summed reduced 1-body density matrix for each many-body state.

  • evcs: many-body state in 2nd quantization (eigenvector of the effective Hamiltonian).