Skip to content

Tempura

Tempura is a Python toolkit for layout-backed electrostatics in semiconductor devices. It sits between a lithographic layout or hand-built gate mask and a meshed Poisson problem that can be solved, inspected, and exported.

The documentation is written for readers who are comfortable with Python and semiconductor-device concepts, but who do not want to work directly at the level of mesher internals.

What It Does

Tempura helps you:

  • crop a layout file to the active region and rasterize its gates on a shared grid;
  • combine that lateral geometry with a vertical stack of dielectrics, metals, and a TwoDEG;
  • build a pescado Poisson problem from the finalized device;
  • solve one basis potential per gate;
  • inspect the mesh, fields, and exported viewer assets.

Internal units

After prepare_layout(...), Tempura works in internal grid units rather than meters. The physical conversion is carried by grid_constant_m.

Start here

  • For one complete layout-backed workflow, start with Triple Quantum Dot.
  • For a DXF-backed superconducting-wire layout workflow, read Minimal Kitaev Chain.
  • If you need to understand layout units, AOI cropping, and rasterization, read Layout.
  • For a short note on etched openings and inverted=True, read Etching.
  • If you already have gate masks and want to understand the stack, mesh, and solve stages, read Device, Mesh, and Solve.
  • For exact signatures and import locations, use API Reference.

Pescado

Tempura wraps pescado, a software package electrostatics developed at CEA. This framework is described in:

AI disclosure