Skip to content

Plugin xTB Optimizer

Hiromichi Yokoyama edited this page Oct 19, 2026 · 4 revisions

Plugin: xTB Optimizer

xTB Optimizer performs quantum semi-empirical geometry optimizations using Grimme's extended tight-binding (xTB) methods (GFN2-xTB and GFN1-xTB) via the Python tblite library and ASE, executed asynchronously on a background thread.

Repository Bundled in moleditpy-plugins (plugins/XTB_Optimizer)
Author HiroYokoyama
Supported OS Windows, macOS, Linux, WSL
Supported Python >=3.9, <3.15
Supported MoleditPy >=5.0.0, <6.0.0
First-party plugin license LGPL-3.0-or-later
Menu location 3D Edit ▸ xTB Optimizer…
Extra dependencies tblite, ase (on Windows, install via conda install -c conda-forge tblite-python ase)

See Official Plugins for the full catalogue.


1. Semi-empirical tight-binding methods

Provides fast, quantum-mechanical geometry optimization beyond classical force fields:

  • GFN2-xTB: The default robust semi-empirical method incorporating anisotropic multipole electrostatics and D4 dispersion correction, accurate for broad organic and organometallic chemistries.
  • GFN1-xTB: Earlier GFN parametrization, useful for comparative studies.
  • Charge and spin multiplicity: Automatically determined from the RDKit molecular graph or user-specified.
  • Electronic temperature: Adjustable Fermi smearing temperature (default 300 K).

2. Background execution and responsive UI

  • Threaded optimization: Geometry minimization runs on a dedicated background thread, preventing UI lockup during multi-step optimizations.
  • Live energy tracking: Displays step-by-step electronic energy and maximum force convergence metrics.
  • Cancelable: Stop button allows aborting long-running optimizations while retaining the lowest-energy intermediate geometry found so far.

3. Windows installation notes

While tblite-python currently lacks prebuilt wheels on PyPI for Windows, precompiled binaries are available via Conda/Mamba:

conda install -c conda-forge tblite-python ase

On Linux and macOS, standard pip installation is supported:

pip install tblite ase

Usage notes

Use Cancel to request a stop. A backend calculation may finish before cancellation takes effect; the dialog shows the cancellation status while waiting.


4. See also


This page documents xTB Optimizer v2026.10.19, and was last updated on 2026-10-19. See REGISTRY/plugins.json for the current version.

Clone this wiki locally