qe-to-tcad
Automated bridge from Quantum ESPRESSO to TCAD-ready material data (optical / dielectric properties and simple 1D device checks).
Public docs: quantum-arise-acad.github.io/site_tcad
What you get
| Command | Role |
|---|---|
qe-bridge |
Fetch structure, run DFT workflow, write JSON for TCAD |
qe-plot |
Dielectric dispersion figures (when epsilon data exists) |
qe-tcad |
1D diode / transistor / sensor validation (DEVSIM) |
Install (PyPI)
pip install --upgrade 'qe-to-tcad[tcad]'
qe-bridge --help
qe-plot --help
qe-tcad --help
Requirements for the Python package:
- Python 3.10+
- Quantum ESPRESSO (
pw.x, optionallyepsilon.x) and MPI on the host - Materials Project API key (
MP_API_KEY, 32 characters)
export MP_API_KEY="your_32_char_key"
export QE_PW="/path/to/pw.x" # if pw.x is not in PATH
Optional .env in the run directory:
MP_API_KEY=your_32_char_key
QE_PW=/usr/bin/pw.x
MPI_NPROC=4
Quick start (PyPI)
mkdir -p ~/qe_runs && cd ~/qe_runs
qe-bridge SiGe
qe-plot SiGe
qe-tcad SiGe diode
qe-tcad SiGe transistor
Dielectric / optical Phase 4 (epsilon.x) is optional and expensive:
qe-bridge SiGe # default --epsilon ask
qe-bridge SiGe --epsilon empiric
qe-bridge SiGe --epsilon compute
qe-bridge SiGe --epsilon mp
- ask (default): Materials Project ε₀ if available; otherwise prompt;
N→ empirical table - empiric / mp: skip
epsilon.xwhen possible - compute: force
epsilon.x
The JSON under parsed_data/ always includes dielectric_constant and dielectric_source.
Docker (all-in-one)
Image: lauryneelv/qe-to-tcad:0.2.7 (also :latest)
Includes Quantum ESPRESSO, DEVSIM, and the three commands.
export MP_API_KEY="your_32_char_key"
mkdir -p ~/qe_runs && cd ~/qe_runs
# Prefer an explicit --epsilon mode in Docker (no TTY → no Y/N prompt).
docker run --rm -e MP_API_KEY -v "$PWD:/data" -w /data \
lauryneelv/qe-to-tcad:0.2.7 SiGe --epsilon empiric
docker run --rm -v "$PWD:/data" -w /data \
--entrypoint qe-plot lauryneelv/qe-to-tcad:0.2.7 SiGe
docker run --rm -v "$PWD:/data" -w /data \
--entrypoint qe-tcad lauryneelv/qe-to-tcad:0.2.7 SiGe diode
Notes:
- If you use
sudo docker, pass the key in the command:-e MP_API_KEY="your_32_char_key"(sudo drops a priorexport). - Without
-it,--epsilon askskips the prompt and uses empiric when MP has no ε₀. Use--epsilon compute/empiric/mp, or add-itfor the interactive prompt. - On Apple Silicon Macs, add
--platform linux/amd64if the image has no arm64 build yet.
Typical outputs (run directory)
parsed_data/ # TCAD JSON
epsilon_out/ # epsilon.x data (if computed)
plots/ # dielectric figures
tcad_outputs/ # diode / transistor validation PNGs
License
MIT — see LICENSE.
Metadata
Release files for qe-to-tcad 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qe_to_tcad-0.2.8.tar.gz | 71.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qe_to_tcad-0.2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 147.4 kB
Release files / qe_to_tcad-0.2.8.tar.gz
| Download URL | qe_to_tcad-0.2.8.tar.gz |
|---|---|
| Size | 71.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a884594809ff9c3288fa342c3c061632099194928dd15393eab9fcc964d23c3
|
|
BLAKE2b-256 checksum How to use checksums |
ea3e78651755e6f8fa27db45b249969763ef923be5532e46aad0e4a2715cc810
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / qe_to_tcad-0.2.8-py3-none-any.whl
| Download URL | qe_to_tcad-0.2.8-py3-none-any.whl |
|---|---|
| Size | 75.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd3a63d16a89ad5378cd65b8cebe60208c9e2547595daa84ae6f96a321887048
|
|
BLAKE2b-256 checksum How to use checksums |
aa75fb0accd1f4a560c21869b8445d94882ad96e42907cd3662e394030956d72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|