qutip
Quantum physics simulation library for open quantum systems. Use when studying master equations, Lindblad dynamics, decoherence, quantum optics, or cavity QED. Best for physics research, open system dynamics, and educational simulations. NOT for circuit-based quantum computing—use qiskit, cirq, or pennylane for quantum algorithms and hardware execution.
Author
Category
Development ToolsInstall
Download and extract to your skills directory
Copy command and send to AI Agent for auto-install:
QuTiP - Python Quantum System Simulation Tool
Skills Overview
QuTiP (Quantum Toolbox in Python) is a Python library dedicated to simulating open quantum systems. It offers capabilities such as solving the master equation, analyzing Lindblad dynamics, simulating quantum optics, and researching cavity QED. It is suitable for physics research and for teaching quantum mechanics.
Suitable Scenarios
Core Features
sesolve (unitary evolution), mesolve (open systems), mcsolve (quantum trajectory Monte Carlo), brmesolve (weak coupling), and fmmesolve (Floquet theory), tailored to different physical scenarios.FAQs
What is QuTiP suitable for?
QuTiP focuses on numerical simulation of open quantum systems, making it suitable for studying master equations, Lindblad dynamics, quantum decoherence, quantum optics, and cavity QED. It is not a tool for circuit-based quantum computing. If you need to run quantum algorithms or execute on real quantum hardware, use Qiskit, Cirq, or PennyLane.
What is the difference between QuTiP and Qiskit?
QuTiP is used to simulate continuous-time evolution of physical systems (e.g., atom-photon interactions in a cavity) by solving master equations and modeling open quantum system dynamics. Libraries like Qiskit and Cirq are used for discrete quantum circuits, quantum algorithms, and quantum hardware execution. They serve different domains: QuTiP emphasizes physics theory research, while Qiskit emphasizes quantum-computing engineering.
Can QuTiP simulate quantum circuits?
No. QuTiP does not provide quantum gate circuit models or quantum algorithm execution functionality. Although you can extend it with the qutip-qip add-on package to get basic quantum information processing tools, that is not QuTiP’s core design goal. For quantum circuit simulation and algorithm implementation, it is recommended to use a dedicated quantum computing framework.
How do I choose the right solver?
Choose based on the system type: for pure-state unitary evolution, use sesolve (the fastest); for open systems with dissipation, use mesolve (most general); when you need quantum-jump trajectories, use mcsolve; for weak system-bath coupling, use brmesolve; for periodically driven Hamiltonians, use fmmesolve (Floquet solver). For beginners, start with mesolve.
What requirements does QuTiP have for hardware?
QuTiP is based on NumPy/SciPy, requiring a Python environment and a scientific computing stack. Memory needs depend on the Hilbert space dimension (too large a dimension can cause memory overflow). CPU parallelism is available only in mcsolve, and it automatically uses multi-core acceleration for trajectory computations. It is recommended to configure enough memory for large matrix operations.
Is QuTiP free?
Yes. QuTiP uses the BSD-3-Clause license, so it can be used free of charge for academic research, commercial projects, and teaching. The core library qutip and the extension packages qutip-qip and qutip-qtrl can be installed via uv pip install with no cost.