Scientific Computing

qutip

Lets researchers simulate the genuinely strange behavior of quantum systems on an ordinary laptop.

Install it: pip install qutip

What does it do?

QuTiP simulates how quantum systems, atoms, photons, or the qubits inside a quantum computer, evolve and interact over time, following the famously counterintuitive rules of quantum mechanics. Rather than needing an actual quantum computer or lab equipment, researchers can model what-would-happen-if scenarios entirely in software first. It’s a flight simulator, except instead of practicing landing a plane, physicists are testing how a fragile quantum state might behave under different conditions before ever touching real, expensive lab hardware. It specifically handles the messy real-world complication of quantum systems interacting with their noisy environment, not just idealized textbook scenarios.

See it in action

This simulates how a simple quantum particle’s state changes over time and prints out the predicted measurement values at each moment.

import numpy as np
import qutip as qt

psi0 = qt.basis(2, 0)
H = qt.sigmax()
times = np.linspace(0, 10, 100)
result = qt.mesolve(H, psi0, times, e_ops=[qt.sigmaz()])
print(result.expect[0])

Why would a non-developer care?

Quantum computing and quantum technology are widely seen as a potentially transformative next wave of computing power, and tools like QuTiP are part of the research infrastructure scientists use to get there, long before any commercial product exists. It matters because testing ideas in simulation first is dramatically cheaper and faster than testing on fragile, expensive physical quantum hardware.

Real-world examples

QuTiP is used in academic physics research groups worldwide studying quantum computing, quantum optics, and related fields, and it’s cited regularly in peer-reviewed physics papers. Researchers developing early quantum computer prototypes have used it to model and predict how their hardware should behave before building it. It’s maintained largely by an international community of academic physicists rather than a single company.

Who uses it

Physicists and quantum computing researchers who need to simulate quantum systems before or alongside real experimental work.

How it compares to alternatives

QuTiP is more specialized and widely cited in academic quantum physics than general scientific tools like SciPy, and compared to newer quantum computing frameworks like Qiskit or Cirq, which focus more on programming actual quantum circuits, QuTiP focuses more on simulating the underlying physical dynamics.

New to Python and want to actually try libraries like this yourself?

Find a beginner-friendly course

Related libraries