Skip to content

Calculate the Valence Band Offset

1. Introduction

Calculate the valence band offset (VBO) of a labeled interface with Density Functional Theory (DFT) in Quantum ESPRESSO. The interface and its two parts are calculated in one job.

2. Open the notebook

In JupyterLite, the notebook is made/workflows/valence_band_offset.ipynb, entry 8.1.1 "Valence band offset at an interface" of made/workflows/Introduction.ipynb.

3. Set the parameters

Cell 1.2 holds the interface, workflow and compute parameters:

 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
from datetime import datetime
from mat3ra.ide.compute import QueueName
from mat3ra.made.tools.convert.interface_parts_enum import InterfacePartsEnum

# 2. Auth and organization parameters
ORGANIZATION_NAME = None

# 3. Material parameters
FOLDER = "../uploads"
INTERFACE_NAME = "Interface"  # To search for in "uploads" folder, account's materials, then Standata
RELAXED_INTERFACE_NAME = None  # To search for in "uploads" folder, account's materials, then Standata. Defaults to the interface
LEFT_SIDE_PART = InterfacePartsEnum.SUBSTRATE
RIGHT_SIDE_PART = InterfacePartsEnum.FILM
INTERFACE_SYSTEM_NAME = None  # Used as tag to group the materials. Defaults to shorthand from the loaded interface name

IS_POLAR = False  # Whether the interface is polar, to adjust the VBO calculation method accordingly.

# 4. Workflow parameters
APPLICATION_NAME = "espresso"
WORKFLOW_SEARCH_TERM = "valence_band_offset.json"
POLAR_WORKFLOW_NAME = "Valence Band Offset for Polar Material"
POLAR_WORKFLOW_SOURCE = "my_account"  # or "curators"
MY_WORKFLOW_NAME = "VBO"

# 5. Compute parameters
CLUSTER_NAME = None
QUEUE_NAME = QueueName.D
PPN = 1

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

INTERFACE_NAME is the interface's name or a part of it, looked up with load_material; the Interface with Minimal Strain (ZSL) notebook builds a labeled interface whose name contains the default "Interface". RELAXED_INTERFACE_NAME names a relaxed copy of the interface; its atoms are split at the middle of the gap that the labels of the unrelaxed interface locate. LEFT_SIDE_PART and RIGHT_SIDE_PART set which labeled part is the left and which the right side. INTERFACE_SYSTEM_NAME is the tag of the three saved materials. IS_POLAR = True runs the polar VBO workflow named POLAR_WORKFLOW_NAME, taken from the account or, with POLAR_WORKFLOW_SOURCE = "curators", from the workflows bank.

The overview explains the account, FOLDER, workflow, compute and job parameters.

Cell 1.3 holds the method parameters:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
# Method parameters
PSEUDOPOTENTIAL_TYPE = "us"  # "us" (ultrasoft), "nc" (norm-conserving), "paw"
FUNCTIONAL = "pbe"  # for gga: "pbe", "pbesol"; for lda: "pz"
MODEL_SUBTYPE = "gga"

# K-grid and k-path
SCF_KGRID = None  # e.g. [8, 8, 1]
KPATH = None  # e.g. [{"point": "Γ", "steps": 20}, {"point": "M", "steps": 20}]

# Set SCF diagonalization and mixing in QE input
ADDITIONAL_PARAMETERS = {"electrons":
    {
        "diagonalization": "david",  # "david" or "cg"
        "mixing_beta": 0.3
    }
}

# Energy cutoffs
ECUTWFC = 40
ECUTRHO = 200

SCF_KGRID and KPATH apply to the calculations of the interface and of both parts. The overview explains the model, k-point and cutoff and engine input parameters.

4. Run and read the result

Run the notebook with Run > Run All and log in when it asks, as in Authentication in JupyterLite.

Section 3 splits the interface into its left and right parts, removes the labels, and saves three materials to the account: the interface under its own name, and the parts under that name followed by Left and Right. After the job finishes, section 8 prints the result in the following form, and plots the average electrostatic potential profiles of the interface, the left part and the right part:

1
Valence Band Offset (VBO): <value> eV

5. Interactive JupyterLite notebook

The interactive JupyterLite notebook for calculating the valence band offset can be accessed below.

Calculate Valence Band Offset explains the potential lineup method and runs the valence band offset workflow from the web interface.

The specific examples Si / Ge (001) Interface (Valence Band Offset) and GaAs / AlAs (110) Interface (Valence Band Offset) calculate the valence band offset of published interfaces with their own notebooks.