Skip to content

H-Passivated Silicon Nanowire (Band Gap and Density of States)

1. Introduction

This tutorial calculates the band gap, the bands along the wire and the density of states of the hydrogen-passivated ⟨110⟩ silicon nanowire of radius 0.51 nm, reproducing Table II and Fig. 8 (left) of the following manuscript:

Manuscript

B. Aradi, L. E. Ramos, P. Deák, Th. Köhler, F. Bechstedt, R. Q. Zhang, and Th. Frauenheim, "Theoretical study of the chemical gap tuning in silicon nanowires" Phys. Rev. B 76, 035305 (2007) DOI: 10.1103/PhysRevB.76.035305 1

This tutorial builds upon the Passivation of Silicon Nanowire tutorial, where the structure is created. Here, Quantum ESPRESSO relaxes one period of the wire, Si₁₈H₁₂, with the Perdew-Burke-Ernzerhof (PBE) functional, then calculates its bands along Γ–Z, Z being the end of the Brillouin zone along the wire, and its density of states (DOS) with a global hybrid functional of the PBE0 form, PBE exchange mixed with a fraction of exact exchange. The fraction is fitted so that bulk silicon has the manuscript's band gap, 1.16 eV (section 8.3); the notebook also calculates this gap.

2. Prerequisites

Before starting this tutorial, one of the following steps should be completed:

  1. Follow the Passivation of Silicon Nanowire tutorial, using the passivation_edge_nanowire_silicon.ipynb notebook embedded in its section 6, to create and save Si nanowire 110 H-passivated one period (30 atoms), OR
  2. Have the material saved in the uploads folder or in the account's materials collection

3. Workflow overview

The band gap and DOS calculation consists of the following steps:

  1. Set up the environment and parameters: Configure material names, workflows, compute resources, and k-point grids
  2. Authenticate and initialize API client: Connect to the platform
  3. Load materials: Import the one-period wire, load bulk silicon from Standata, print their compositions and cells
  4. Configure the workflows: Variable-cell relaxation of the wire, then, with the global hybrid, band structure of the wire, band gap and DOS of the wire and of bulk silicon
  5. Configure compute resources: Select the cluster, queue, and processor settings
  6. Run the jobs: Bulk silicon and the relaxation of the wire, then the band structure and the DOS of the relaxed wire
  7. Retrieve results: The period of the relaxed wire and the band gaps
  8. Compare with the manuscript: Print the band gaps beside Table II's, plot the bands and the DOS beside Fig. 8 (left)

4. Calculation parameters

this tutorial Aradi
Code Quantum ESPRESSO DFTB+, a density functional based tight-binding (DFTB) code, for the geometry; CRYSTAL for the band gaps and the bands
Geometry PBE, variable-cell relaxation of one period: the atoms and the period along the wire DFTB, two periods: the atoms and the length along the wire
Band gaps and bands global hybrid, PBE0 form, exact-exchange fraction 0.10, fitted to the bulk Si gap of 1.16 eV global hybrid, PBE0 form, exact-exchange fraction 0.12, chosen by Deák et al. 2005 as the best match to bulk Si; bulk Si gap 1.16 eV
Pseudopotentials ultrasoft (GBRV) for the relaxation; norm-conserving (PseudoDojo) for the hybrid runs not stated
Cutoff 40 / 200 Ry for the relaxation; 72 / 288 Ry, exact exchange 100 Ry, for the hybrid runs not stated
Cell one period, Si₁₈H₁₂, c = 3.867 Å before the relaxation (Standata Si, a = 5.468 Å); about 18 Å between wire images DFTB: two periods, Si₃₆H₂₄, 1000 Å perpendicular to the wire; CRYSTAL: one period, periodic along the wire only; lattice constant not stated
k-points, relaxation 1×1×8 on one period 1×1×4 on two periods
k-points, band structure 1×1×8 and 21 points along Γ–Z; q-points 1×1×4 for the exact exchange not stated
k-points, DOS 1×1×8 for the wire, run as 2×2×8; 8×8×8 for bulk Si not stated
Forces 1×10⁻⁴ a.u. (forc_conv_thr = 2e-4 Ry/Bohr) 1×10⁻⁴ a.u.

5. Step-by-step instructions

5.1. Open the notebook

Navigate to the API examples repository and open the band gap and DOS notebook:

1
other/materials_designer/specific_examples/passivation_edge_nanowire_silicon_SIMULATION.ipynb

5.2. Configure parameters

Cell 1.2 sets the material names, the workflows, the compute resources and the energy range of the plot:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from datetime import datetime
from mat3ra.ide.compute import QueueName

ORGANIZATION_NAME = None  # set to your organization name (full or partial); otherwise, your default one is used
FOLDER = "./uploads"
WIRE_NAME = "Si nanowire 110 H-passivated one period"  # saved by the structure notebook
RELAXED_WIRE_NAME = "Si nanowire 110 H-passivated relaxed one period"
BULK_NAME = "Silicon"  # Standata

APPLICATION_NAME = "espresso"
RELAX_WORKFLOW_SEARCH_TERM = "variable_cell_relaxation.json"
BANDS_WORKFLOW_SEARCH_TERM = "band_structure_hse.json"
DOS_WORKFLOW_SEARCH_TERM = "band_gap_dos_hse.json"

CLUSTER_NAME = None  # specify full or partial name i.e. "cluster-001" to select
QUEUE_NAME = QueueName.OF
PPN = None  # None uses the selected queue's maximum cores per job on the selected cluster
NPOOLS = 2  # k-point pools: must divide the cores and not exceed any job's k-points; each adds exact-exchange memory
TIME_LIMIT = "04:00:00"

timestamp = datetime.now().strftime("%Y-%m-%d %H:%M")
POLL_INTERVAL = 60  # seconds

ENERGY_WINDOW = (-4.0, 6.0)  # eV, the energy range of Fig. 8

Cell 1.3 sets the cutoffs, the pseudopotential type of the hybrid runs and their fraction of exact exchange, the relaxation, the preliminary SCF verbosity, the hybrid runs' functional, stress (off) and exact-exchange cutoff, and the k-point and q-point grids; the comments name the manuscript's settings:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# manuscript: geometry with DFTB, gaps with CRYSTAL and a one-parameter global hybrid fitted to bulk Si;
# ours: geometry with PBE, GBRV ultrasoft pseudopotentials at their tested cutoffs; gaps with that hybrid in the
# PBE0 form and PseudoDojo norm-conserving ones, as ultrasoft augmentation of every band pair dominates its cost
ECUTWFC = 40  # Ry
ECUTRHO = 200  # Ry
HSE_PSEUDOPOTENTIAL_TYPE = "nc"
HSE_PSEUDOPOTENTIAL_SEARCH_TEXT = "dojo-oncv/0.4"  # PseudoDojo 0.4 among norm-conserving files for hybrid functionals
HSE_ECUTWFC = 72  # Ry, PseudoDojo "normal" hint: H 36 Ha, Si 18 Ha
HSE_ECUTRHO = 4 * HSE_ECUTWFC  # Ry, enough for norm-conserving pseudopotentials
# fraction of exact exchange, fitted (to two decimals) so bulk Si gives the manuscript's 1.16 eV; section 8.1 prints it
EXX_FRACTION = 0.10

# forces below 1e-4 Ha/Bohr as in the manuscript, in QE's Ry/Bohr; the atoms and the period along the wire relax
RELAXATION_SETTINGS = {"control": {"forc_conv_thr": 2e-4, "nstep": 100}, "cell": {"cell_dofree": "z"}}
PRELIMINARY_SCF_SETTINGS = {"control": {"verbosity": "high"}}  # so pw.x prints the crystal k-points the hybrid run uses
# Quantum ESPRESSO computes no hybrid-functional stress with pools; ecutfock (Ry) as in the DOS workflow, since
# its default, 4 x HSE_ECUTWFC, would multiply each pool's exchange memory
HSE_SETTINGS = {"control": {"tstress": False},
                "system": {"input_dft": "pbe0", "exx_fraction": EXX_FRACTION, "ecutfock": 100}}
RELAX_KGRID = [1, 1, 8]  # manuscript: 1x1x4 on two periods
BANDS_KGRID = [1, 1, 8]
QGRID = [1, 1, 4]  # exact-exchange q-grid; each dimension divides the one of BANDS_KGRID
KPATH_STEPS = 20  # even, so every k − q of the path stays on the path for the 1x1x4 q-grid
# a job is reused by material, workflow name and k-grid, so rename a workflow after changing any other setting it uses
RELAX_WORKFLOW_NAME = "Variable-cell Relaxation Si nanowire"
BANDS_WORKFLOW_NAME = f"Band Structure global hybrid {EXX_FRACTION} Si nanowire"
WIRE_DOS_WORKFLOW_NAME = f"Band Gap + DOS global hybrid {EXX_FRACTION} Si nanowire"
BULK_DOS_WORKFLOW_NAME = f"Band Gap + DOS global hybrid {EXX_FRACTION} Si bulk"
DOS_KGRID = [1, 1, 8]  # the workflow runs odd dimensions as the next even, so 2x2x8
BULK_KGRID = [8, 8, 8]

RELAX_UNIT = "pw_vc-relax"
PRELIMINARY_SCF_UNIT = "pw_scf"
BANDS_HSE_UNIT = "pw_scf_bands_hse"
BANDS_UNIT = "bands"
DOS_HSE_UNIT = "pw_scf_hse"

5.3. Run the notebook

Execute all cells by selecting Run > Run All from the menu. The notebook first authenticates with the platform, then runs the steps listed in section 3.

5.4. Monitor progress

The notebook polls the bulk silicon job and the relaxation of the wire, then the band structure and DOS jobs of the relaxed wire.

5.5. Analyze results

Section 7.1 of the notebook prints the period along the wire before and after the relaxation. Section 8.1 prints the band gaps twice: the notebook's own values first, then the same lines headed "Band gap from the manuscript". Section 8.2 shows the manuscript's Fig. 8 (left) and, below it, the same plot from the band structure and DOS jobs: the DOS mirrored on the left, its projection on the H atoms dotted, and the bands along Γ–Z on the right, from −4 to 6 eV, with each job's valence-band maximum (VBM) at 0.

6. Expected results

6.1. Comparison with published results

Band gap of the wire:

  • manuscript (Aradi et al. 2007, Table II, one-parameter global hybrid): 2.21 eV, direct
  • this tutorial (global hybrid in the PBE0 form, exact-exchange fraction 0.10): 2.00 eV, direct

Bands along Γ–Z and DOS (solid: total, dotted: on the H atoms), with the valence-band maximum at 0 eV:

Bands and DOS of the H-passivated Si nanowire from the manuscript and this tutorial

7. Customization options

7.1. Adjust the k-point grids and the path

RELAX_KGRID, BANDS_KGRID, DOS_KGRID and BULK_KGRID in cell 1.3 set the k-point grids of the relaxation, of the PBE calculation whose k-points the hybrid band structure uses, of the DOS of the wire and of bulk silicon. The "Band Gap + DoS - HSE" workflow runs an odd dimension as the next even one, so the wire's 1×1×8 runs as 2×2×8.

QGRID is the grid of q-points on which the band structure job evaluates the exact exchange, and KPATH_STEPS the number of steps from Γ to Z. For every listed k-point and every q-point, Quantum ESPRESSO needs k − q among the listed k-points. On the grid, this holds when each dimension of QGRID divides the one of BANDS_KGRID. On the path, it holds when the third value of QGRID divides 2 × KPATH_STEPS: the path points lie 0.5 / KPATH_STEPS apart along the wire, in crystal coordinates, and the q-points 1 / the third value of QGRID apart, a whole number of path steps. For the default 1×1×4, KPATH_STEPS is even.

The notebook reuses a job with the same material, workflow name and k-point grid, so after a change to any other setting of a workflow, its name in cell 1.3 (RELAX_WORKFLOW_NAME, BANDS_WORKFLOW_NAME, WIRE_DOS_WORKFLOW_NAME or BULK_DOS_WORKFLOW_NAME) must change for a new job to run.

7.2. Adjust computational resources

QUEUE_NAME, PPN, NPOOLS and TIME_LIMIT in cell 1.2 set the queue, the cores, the k-point pools and the time limit of every job; NPOOLS must divide the cores and not exceed the number of k-points of any job. Each pool keeps its own copy of the exact-exchange data, so the memory per node grows with NPOOLS. The default, CLUSTER_NAME = None, uses the account's first listed cluster; setting a specific name picks that cluster instead, and a name that is not available makes the notebook stop and list the ones that are.

8. Troubleshooting

8.1. Material not found

If Si nanowire 110 H-passivated one period is not found in the uploads folder or the account's materials collection, run the structure tutorial first; the name must match exactly.

8.2. No cluster available

If section 5.1 of the notebook prints an empty list of clusters, there is nothing to submit to, and section 5.2 stops.

8.3. Band gap far from the published value

The manuscript's hybrid is PBE with an exact-exchange fraction of 0.12, which Deák et al. 2005 (p. S2144) found to match the properties of bulk silicon best; it gives bulk silicon a gap of 1.16 eV. This tutorial fits its own fraction to that gap. Two bulk silicon runs on the 8×8×8 k-point grid give 1.148 eV at 0.10 and 1.405 eV at 0.15; the line between them reaches 1.16 eV at 0.102, rounded to 0.10. The bulk silicon lines of section 8.1 of the notebook show the check. To use the manuscript's value, set EXX_FRACTION to 0.12 in cell 1.3. The gap also depends on the q-point grid of the exact exchange: open the band structure and the DOS jobs of the wire, select the Files tab, and check that pw_scf_bands_hse.in and pw_scf_hse.in set input_dft to 'pbe0', exx_fraction to the value of EXX_FRACTION, and nqx1, nqx2, nqx3 to 1, 1 and 4 with the default grids.

9. Interactive JupyterLite notebook

The following JupyterLite notebook calculates the band gap and the density of states of the H-passivated Si nanowire. Select Run > Run All Cells.

10. References


  1. B. Aradi, L. E. Ramos, P. Deák, Th. Köhler, F. Bechstedt, R. Q. Zhang, and Th. Frauenheim. Theoretical study of the chemical gap tuning in silicon nanowires. Phys. Rev. B, 76(3):035305, 2007. URL: https://doi.org/10.1103/PhysRevB.76.035305. ↩