Octopus

Real-time TDDFT: electron dynamics under laser fields and other time-dependent perturbations.

Tool 016 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

Octopus, open-source tool for electronic structure of solids (periodic DFT): Real-time TDDFT: electron dynamics under laser fields and other time-dependent perturbations.

What Octopus is

Octopus is a real-space DFT code built for time-dependent problems. Wavefunctions live on a uniform grid of points rather than in a basis set, with pseudopotentials for the nuclei, which makes it natural to propagate electrons explicitly in time. Its central method is real-time time-dependent DFT (TDDFT): the Kohn-Sham orbitals are integrated forward under an applied field, so absorption spectra, high-harmonic generation, photoemission and other responses to laser pulses emerge from the dynamics rather than from perturbation theory. Ehrenfest dynamics couples electrons to moving nuclei.

Input is an inp text file of variables; the code runs ground-state and time-dependent modes in sequence and writes results to static and td.general directories, with densities and orbitals exportable to cube, XCrySDen, VTK or netCDF formats. Linear-response TDDFT (Casida and Sternheimer), optimal control of electron dynamics, periodic systems with k-points, model potentials in one or two dimensions and a coupled Maxwell-TDDFT solver are included. Octopus is parallel over domains, states and k-points and has GPU support.

Grid-based calculations need many points for hard atoms, so core states are always replaced by pseudopotentials and cost scales with box volume.

Features

What it is for

Verified facts

FamilyElectronic structure of solids (periodic DFT)
Language or basisReal-space grid
Repositoryhttps://gitlab.com/octopus-code/octopus (GitLab)
Verified2026-11-28 by MolForge's checking script, against the host's API

Where Octopus fits

Codes for crystals, surfaces and periodic materials, with plane waves, augmented plane waves or localised bases. VASP, WIEN2k and CASTEP are the proprietary references.

Our comments on Octopus

MolForge does not run Octopus in production. This page is a verified pointer, not a review: the facts above come from the repository on the date shown, the description is ours, and we make no claim about accuracy or speed that we have not measured. If you maintain Octopus and something here is wrong or out of date, write to hello@molforge.ai and we will correct the source file.

Test status

Not tested by MolForge. To check Octopus yourself: clone the repository, follow the installation section of its README, and run the test suite the project ships before trusting a result; the last-commit date and the open issue count above tell you how alive the project is.

Questions people ask

What is real-time TDDFT and when is it preferred?
Instead of solving for excitation energies as eigenvalues, real-time TDDFT propagates the electronic density in time under an explicit field. A weak kick yields the whole absorption spectrum in one run, and strong fields, which perturbation theory cannot treat, are handled directly. It is preferred for intense lasers, non-linear response and large systems with dense spectra.
How is Octopus different from GPAW?
Both can run real-space grids and real-time TDDFT. Octopus is organised around time-dependent phenomena, with laser-pulse definition, optimal control, photoemission analysis and Maxwell coupling, and treats model systems in reduced dimensions. GPAW is a general-purpose ASE calculator with PAW, several basis modes and many-body methods such as GW. Octopus is Fortran with text input; GPAW is Python.
Can Octopus treat periodic solids?
Yes. Periodic boundary conditions in one, two or three dimensions with k-point sampling are supported for ground-state and time-dependent runs, which allows electron dynamics in crystals under laser fields. It is not primarily a band-structure code, however; users needing phonons, GW or elaborate structural relaxation generally pair it with a dedicated solid-state package.
Where is the Octopus source code?
At https://gitlab.com/octopus-code/octopus (GitLab). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
Does MolForge use Octopus?
No. MolForge runs nine of the hundred tools in this directory (RDKit, OpenMM, AutoDock Vina, Open Babel, MDTraj, pymbar and NGL, plus PySCF and xTB in MFsig); Octopus is listed because of its place in electronic structure of solids (periodic DFT), not because we run it.

Other tools in electronic structure of solids (periodic DFT)