# ABINIT tutorial. Electron-positron annihilation...

## Calculation of positron lifetime and momentum distribution in Si

This lesson aims at showing how to perform Two-Component Density-Functional Theory (TCDFT) calculations in the PAW framework to obtain the following physical properties:

- the positron lifetime in the perfect material
- the lifetime of a positron localized in a vacancy
- the electron-positron momentum distribution

For the description of the implementation of TCDFT in ABINIT see:

Two-component density functional theory within the projector augmented-wave approach: Accurate and self-consistent computations of positron lifetimes and momentum distributions", J Wiktor, G Jomard, and M Torrent, Phys. Rev. B 92, 125113 (2015)

The user should be familiar with the four basic lessons of ABINIT and the first tutorial on PAW, see the tutorial home page.

This lesson should take about 2 hours.

##### Copyright (C) 2000-2017 ABINIT group (JW,MT)

### Electron-positron annihilation. Table of content:

- 1. Computing the positron lifetime in Si lattice
- 2. Computing the positron lifetime in a Si monovacancy
- 3. Performing self consistent electron-positron calculations for a vacancy
- 4. Relaxing the vacancy according to forces due to electrons and the positron
- 5. Computing the electron-positron momentum distribution (Doppler spectrum) of a Si lattice
- 6. Studying the effect of the PAW dataset completeness

### 1. Computing the positron lifetime in Si lattice

Before beginning, you might consider to work in a different subdirectory as for the other lessons. Why not "Work_positron" ?

The lesson begins with a calculation of the positron lifetime in a Si lattice. In a perfect material the positron is delocalized. We can assume that its density approaches zero and it cannot affect the electron density. We will perform only two steps of calculations:

1. Calculation of the ground-state electron density without the positron.
2. Calculation of the ground-state positron density in the presence of the electron density from step 1.

The two densities are used to calculate the positron lifetime, which is proportional to the inverse of the overlap of the electron and positron densities. This two-step calculation, considering the zero-positron density limit corresponds to the conventional scheme (CONV).

In the tpositron_1.in file, you will find two datasets. The first dataset is a standard ground-state calculation. The second one introduces a positron into the system. You can see that in this case we set:

      positron2  1      ! Dataset 2 is a positronic GS calculation
      getden2    1      !   in presence of the previous electronic density
      kptopt2    0      !   Use only k=gamma point

      ixcpositron2  1   ! We are using the Boronski and Nieminen parametrization

Here we set positron=1, which corresponds to a positronic ground-state calculation, considering that the electrons are not perturbed by the presence of the positron. The electron density is read from the file resulting from dataset 1. As we consider the positron to be completely delocalized, we only consider the Γ point. The keyword ixcpositron selects the electron-positron correlation functional and enhancement factor. In this calculation we use the functional parametrized by Boronski and Nieminen [Phys. Rev. B 34, 3820 (1986)], using the data provided by Arponen and Pajanne [J. Phys. F 9, 2359 (1979)].

We can now run the calculation. In the directory ~abinit/tests/tutorial/Input/Work_positron, copy the files ~abinit/tests/tutorial/Input/tpositron_x.files and tpositron_1.in.

Then, issue:

    abinit < tpositron_x.files >& tpositron_1.log

This calculation should only take a few seconds.

You can look at the tpositron_1.out file. We find the positron lifetime calculated in the RPA limit:

    ########## Lifetime computation 2

     # Zero-positron density limit of Arponen and Pajanne provided by Boronski & Nieminen
       Ref.: Boronski and R.M. Nieminen, Phys. Rev. B 34, 3820 (1986)
     # Enhancement factor of Boronski & Nieminen IN THE RPA LIMIT
       Ref.: Boronski and R.M. Nieminen, Phys. Rev. B 34, 3820 (1986)

     Positron lifetime                         (ps)   =  2.22891945E+02

The lifetime of 223 ps agrees well with the value of 225 ps calculated with the same number of valence electrons in [Phys. Rev. B 92, 125113 (2015)] and with the experimental value of about 219 ps [Phys. Rev. B 56, 7356 (1997)].

Note: if we had not used the "zero positron density limit" approximation (using, for example, another value of ixcpositron), we would theoretically have needed a box of infinite size for the positron to completely delocalise itself in the crystal. This can be avoided by the use of the posocc input parameter. Numerically, it is equivalent to calculate the density of 1 positron in a box of size N and that of x positron in a box of size N * x. Thus, we can calculate the lifetime of a positron in a primitive cell by setting posocc to a small value (0.0001 ...). This value must obviously be tested ...

Go to the top

### 2. Computing the positron lifetime in a Si monovacancy

We will now perform a positron lifetime calculation for a monovacancy in silicon in the conventional scheme (which we applied to the perfect lattice previously). Note that when the positron localizes inside a vacancy, the zero-positron density limit does not apply anymore. However, in some cases, the conventional scheme proved to yield results in agreement with experiments.

For the purpose of this tutorial, we generate a defect in a cell containing only 16 atoms. This supercell is too small to get converged results, but the calculation is relatively fast.

You can now, issue (after having replaced tpositron_1 by tpositron_2 in the tpositron_x.files file):

    abinit < tpositron_x.files >& tpositron_2.log

Once the calculation is finished, look at the tpositron_2.out file. Again, we look at the reported lifetime:

    ########## Lifetime computation 2

     # Zero-positron density limit of Arponen and Pajanne provided by Boronski & Nieminen
       Ref.: Boronski and R.M. Nieminen, Phys. Rev. B 34, 3820 (1986)
     # Enhancement factor of Boronski & Nieminen IN THE RPA LIMIT
       Ref.: Boronski and R.M. Nieminen, Phys. Rev. B 34, 3820 (1986)

     Positron lifetime                         (ps)   =  2.46936401E+02

We observe that when the positron localizes inside the vacancy, its lifetime increases from 223 to 247 ps. This is because now the majority of the positron density is localized in the vacancy region, where the electron density is small. The overlap of the electron and positron densities is reduced, and the lifetime increased.

In the Work directory, you will also find a tpositron_2o_DS2_DEN_POSITRON file, containing the positron density. Visualizing this file (using e.g. cut3d and XcrysDen or VMD) you can see that the positron is localized inside the vacancy. You can see below how the positron (in red, isodensity at 30% of the maximum density) localized the silicon monovacancy looks like:

Go to the top

### 3. Performing self consistent electron-positron calculations for a vacancy

We will now perform a self-consistent calculation of the positron and electron densities. As this calculation will take a few minutes, you can already issue (putting tpositron_3.in in tpositron_x.files):

    abinit < tpositron_x.files >& tpositron_3.log

This calculation is significantly longer than the previous one, because the electron and positron steps will be repeated until the convergence criterion is reached. In tpositron_3.in we only have one dataset and we set positron=-10 to perform an automatic calculation of electrons and positron densities. The convergence is controlled by postoldfe=1d-5. This means that we will repeat the electron and positron steps until the energy difference between them is lower than 1d-5 Ha. This value should always be larger than toldfe. In this calculation we still use ixcpositron=1, which means that we are using the GGGC scheme (see [Phys. Rev. Lett. 72, 3214 (1994)] and [Phys. Rev. B 92, 125113 (2015)].

Once the calculation is finished, look at the positron lifetime in tpositron_3.out.

    ########## Lifetime computation 2

     # Zero-positron density limit of Arponen and Pajanne provided by Boronski & Nieminen
       Ref.: Boronski and R.M. Nieminen, Phys. Rev. B 34, 3820 (1986)
     # Enhancement factor of Boronski & Nieminen IN THE RPA LIMIT
       Ref.: Boronski and R.M. Nieminen, Phys. Rev. B 34, 3820 (1986)

     Positron lifetime                         (ps)   =  2.55617112E+02

Including the self-consistency increases the positron lifetime, because its localization inside the vacancy becomes stronger when the positron and the electron densities are allowed to relax.

Go to the top

### 4. Relaxing the vacancy according to forces due to electrons and the positron

In addition to the self-consistency, the lifetime of a positron inside a vacancy can be strongly affected by the relaxation of the atoms due to the forces coming from both the electrons and the positron. You can already start the relaxation of the vacancy by issuing:
Don't forget to put tpositron_4.in in tpositron_x.files.

    abinit < tpositron_4.files >& tpositron_4.log

In this calculation we switched on the atomic relaxation by setting ionmov=2. We need to calculate forces to be able to move the atoms, so we set optforces=1. In the provided tpositron_4.in file, We only perform 4 relaxation steps (ntime=4) to save time, but more steps would be needed to converge the positron lifetime.

Look at the positron lifetime in the RPA limit after each ionic step:

     Positron lifetime                         (ps)   =  2.55617112E+02
     Positron lifetime                         (ps)   =  2.56981105E+02
     Positron lifetime                         (ps)   =  2.81986785E+02
     Positron lifetime                         (ps)   =  2.82826327E+02

As the vacancy relaxes outwards, the positron lifetime increases. 4 steps were not enough to relax the defect completely, as the lifetime still changes. Indeed, setting ntime to 10 delivers:

    Positron lifetime                         (ps)   =  2.55617112E+02
    Positron lifetime                         (ps)   =  2.56981106E+02
    Positron lifetime                         (ps)   =  2.81986782E+02
    Positron lifetime                         (ps)   =  2.82826326E+02
    Positron lifetime                         (ps)   =  2.86660064E+02
    Positron lifetime                         (ps)   =  2.87040831E+02
    Positron lifetime                         (ps)   =  2.87284438E+02
    Positron lifetime                         (ps)   =  2.87360829E+02
    Positron lifetime                         (ps)   =  2.87302206E+02

Although the results at ionic steps 3 and 4 differ from each other by less than one percent, they differ by more from the final result. The one percent convergence is only reached at ionic step 5 and after.

Also, remember that the 16-atom supercell is not large enough to get converged results. In Table IV of [Phys. Rev. B 92, 125113 (2015)] you can see converged results of the positron lifetime of Si monovacancy in various methods.

Go to the top

### 5. Computing the electron-positron momentum distribution (Doppler spectrum) of a Si lattice

In the last part of the tutorial we will calculate the electron-positron momentum distribution (Doppler spectrum) of a Si lattice in the conventional scheme. This type of calculation is much more time and memory consuming than the lifetime calculation, as it is calculated using the electron and positron wavefunctions and not densities.

You can already issue (putting tpositron_5.in in tpositron_x.files):

    abinit < tpositron_5.files >& tpositron_5.log

Now take a look at the input file tpositron_5.in. The momentum distribution calculation is activated by posdoppler=1. You can also notice that instead of having two datasets as in the first part of this tutorial, we now use the automatic electron-positron loop and set posnstep=2. This is done because we need to have the full electron and positron wavefunctions in memory, which is only the case when positron<=-10. Additionally, the momentum distribution calculations require using a full k-point grid. In the input file we set:

        kptopt 0
        istwfk *1
        nkpt 8   ! This corresponds to a 2x2x2 grid, denser grids may be needed to get converged spectra
        kpt
        0 0 0
        0 0 0.5
        0 0.5 0
        0.5 0 0
        0 0.5 0.5
        0.5 0 0.5
        0.5 0.5 0
        0.5 0.5 0.5

This grid is used in both electron and positron calculations, but only the positron wavefunction at the first point is taken in the momentum distribution calculation, so the Γ point should always be given first.

In the calculation of the momentum distribution, we need to include both core and valence electrons. The wavefunctions of the core electron are read from a file (one per atom type), which need to be provided. This core WF file should be named '<psp_file_name>.corewf' (where <psp_file_name> is the name of the pseudo-potential (or PAW) file) or 'corewf.abinit <ityp>' (where <ityp> is the index of the atom type). Core WF files can be obtained with the atompaw tool (see lesson on generating the PAW datasets) by the use of the 'prtcorewf' keyword. You will find the core wavefunction file used in this calculation in

    ~abinit/tests/Psps_for_tests/Si.LDA-PW-paw.abinit.corewf

Once the calculation is complete, you will find a file tpositron_5o_DOPPLER containing the momentum distribution on the FFT grid. You can use the ~abinit/scripts/post_processing/posdopspectra.F90 tool to generate 1D projections (Doppler spectra) in (001), (011) and (111) directions and to calculate the low- and high-momentum contributions to the contributions to the momentum distributiom (so called S and W parameters, see [Phys. Rev. B 92, 125113 (2015)]).

Go to the top

### 6. Studying the effect of the PAW dataset completeness

The positron lifetime and momentum distribution calculations within the PAW method are very sensitive to the number of valence electrons in the PAW dataset. It is due to the fact that it is not easy to describe the positron wavefunction, tending to zero at the nucleus, using the electron atomic orbitals. The PAW basis set in this case needs to be more complete than only for describing the electron wavefunctions. The simplest way to make the PAW dataset more complete is to include semicore electrons. It is also possible to add the partial waves corresponding to the semicore electrons in the basis used only for the positron wave function description, while keeping the initial number of valence electrons (as done in [Phys. Rev. B 92, 125113 (2015)]). However, the second method is less straightforward.

The previous calculations were done with only 4 valence electrons (3s and 3p). We will now see what happens if we include the 2s and 2p states in the PAW dataset. In tpositron_12el_x.files we have replaced the Si.LDA-PW-paw.abinit dataset with Si.12el.LDA-PW-paw.abinit. We can now rerun the lifetime calculation:

    abinit < tpositron_12el_x.files >& tpositron_6.log

We now find the positron lifetime calculated in the RPA limit:

    ########## Lifetime computation 2

     # Zero-positron density limit of Arponen and Pajanne provided by Boronski & Nieminen
       Ref.: Boronski and R.M. Nieminen, Phys. Rev. B 34, 3820 (1986)
     # Enhancement factor of Boronski & Nieminen IN THE RPA LIMIT
       Ref.: Boronski and R.M. Nieminen, Phys. Rev. B 34, 3820 (1986)

     Positron lifetime                         (ps)   =  2.11481560E+02

This value is significantly lower than 223 ps achieved with 4 valence electrons in the first step. It is, therefore, very important to always test the PAW dataset completeness for positron calculations.

The PAW dataset completeness is even more important in the Doppler spectra calculations. We will now recalculate the momentum distribution including 12 valence electrons (using tpositron_7.in in tpositron_12el_x.files):

    abinit < tpositron_12el_x.files >& tpositron_7.log

Before processing the new tpositron_7o_DOPPLER file, you should copy files rho_001, rho_011, rho_111 from the fifth step to for instance si4el_001, si4el_011 and si4el_111.
By plotting the Doppler spectra in the (001) direction calculated with 4 and 12 valence electrons, you should obtain a figure like this:

The dataset with 4 valence electrons is not complete enough to describe the positron wavefunction around the nucleus. This is reflected in the unphysically high probability at high momenta in the spectrum.

Further explanation of the influence of the PAW dataset on the Doppler spectra can be found in Phys. Rev. B 92, 125113 (2015). In case you need to generate your own dataset for momentum distribution calculations, you can follow the lesson on generating the PAW datasets lesson on generating the PAW datasets.

Go to the top