Skip to main content

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, optionally epsilon.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.x when 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 prior export).
  • Without -it, --epsilon ask skips the prompt and uses empiric when MP has no ε₀. Use --epsilon compute / empiric / mp, or add -it for the interactive prompt.
  • On Apple Silicon Macs, add --platform linux/amd64 if 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qe_to_tcad-0.2.8.tar.gz (71.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qe_to_tcad-0.2.8-py3-none-any.whl (75.7 kB view details)

Uploaded Python 3

File details

Details for the file qe_to_tcad-0.2.8.tar.gz.

File metadata

  • Download URL: qe_to_tcad-0.2.8.tar.gz
  • Upload date:
  • Size: 71.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for qe_to_tcad-0.2.8.tar.gz
Algorithm Hash digest
SHA256 4a884594809ff9c3288fa342c3c061632099194928dd15393eab9fcc964d23c3
MD5 35fe24e96bfe60b62d3a586b2ee2bf30
BLAKE2b-256 ea3e78651755e6f8fa27db45b249969763ef923be5532e46aad0e4a2715cc810

See more details on using hashes here.

File details

Details for the file qe_to_tcad-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: qe_to_tcad-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 75.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for qe_to_tcad-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fd3a63d16a89ad5378cd65b8cebe60208c9e2547595daa84ae6f96a321887048
MD5 0be246f337bc0d0cfdc197228b68e818
BLAKE2b-256 aa75fb0accd1f4a560c21869b8445d94882ad96e42907cd3662e394030956d72

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page