Skills qutip
⚛️

qutip

Safe ⚡ Contains scripts⚙️ External commands🌐 Network access

Simulate quantum physics with QuTiP

Also available from: davila7

Quantum systems require specialized simulation tools. QuTiP provides solvers for open quantum systems with master equations, Lindblad dynamics, and decoherence. Use this skill to model quantum optics, cavity QED, and dissipative quantum processes.

Supports: Claude Codex Code(CC)
🥉 72 Bronze
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

Toggle on and start using

Test it

Using "qutip". Create a thermal state in QuTiP with average photon number 2

Expected outcome:

  • Created thermal density matrix for N=10 Hilbert space
  • Average photon number n_avg=2.0
  • Von Neumann entropy calculated: S = 0.92
  • Visualized Fock distribution showing thermal photon statistics

Using "qutip". Simulate quantum state evolution under Lindblad master equation

Expected outcome:

  • Hamiltonian: sigmaz() with omega = 1.0
  • Collapse operators: sqrt(0.1) * destroy(N)
  • Time evolution: 0 to 10 with 200 time points
  • Final expectation value <n> = 1.47 (decayed from initial 3.0)

Security Audit

Safe
v4 • 1/17/2026

Documentation-only skill containing markdown files with QuTiP code examples. All 405 static findings are FALSE POSITIVES from the analyzer misinterpreting markdown syntax as security patterns. No executable code, network calls, file system access, or external commands exist.

7
Files scanned
4,476
Lines analyzed
3
findings
4
Total audits

Risk Factors

⚡ Contains scripts (1)
⚙️ External commands (2)
🌐 Network access (1)
Audited by: claude View Audit History →

Quality Score

45
Architecture
100
Maintainability
87
Content
22
Community
100
Security
91
Spec Compliance

What You Can Build

Open system quantum dynamics

Model decoherence and dissipation in quantum optics experiments using master equation solvers.

Educational quantum simulations

Visualize quantum states on Bloch spheres and explore entanglement dynamics.

Cavity QED modeling

Simulate atom-cavity interactions with Jaynes-Cummings model and photon statistics.

Try These Prompts

Basic quantum state
Show me how to create a Fock state and a coherent state in QuTiP, then calculate the Wigner function for the coherent state.
Open system evolution
Simulate a damped harmonic oscillator in QuTiP using mesolve with a collapse operator for energy dissipation. Plot the photon number decay over time.
Entanglement analysis
Create a two-qubit Bell state in QuTiP and track how entanglement decays under local dephasing. Calculate concurrence over time.
Advanced quantum optics
Implement the Jaynes-Cummings model in QuTiP with cavity decay and atomic spontaneous emission. Show vacuum Rabi oscillations and photon number dynamics.

Best Practices

  • Start with small Hilbert space dimensions and increase until results converge
  • Use sesolve for pure states when dissipation is not needed for faster simulations
  • Store only expectation values using e_ops instead of all states to reduce memory

Avoid

  • Do not use QuTiP for circuit-based quantum computing (use qiskit, cirq, or pennylane)
  • Avoid excessive Hilbert space dimensions without checking convergence
  • Do not ignore numerical warnings about stiffness; adjust tolerances or solver method

Frequently Asked Questions

What solvers does QuTiP support?
QuTiP provides sesolve for unitary evolution, mesolve for master equations, mcsolve for quantum trajectories, and specialized solvers like brmesolve and fmmesolve.
How do I visualize quantum states?
Use Bloch sphere for qubit states, Wigner function for continuous variable states, and matrix_histogram for operator visualizations.
Can QuTiP simulate quantum circuits?
No. For circuit-based quantum computing, use qiskit, cirq, or pennylane. QuTiP focuses on continuous variable and open system dynamics.
How do I model dissipation?
Add collapse operators to mesolve. Each collapse operator represents a dissipation channel with its decay rate.
What is the difference between sesolve and mesolve?
sesolve solves the Schrödinger equation for pure states. mesolve solves the master equation for mixed states with dissipation.
How do I analyze entanglement?
Use concurrence for two qubits, entropy_vn for von Neumann entropy, and negativity for continuous variable entanglement.

Developer Details