One-click install
npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill qutip-leonchaox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qutip
Source: https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/10-%E6%9D%90%E6%96%99%E7%A7%91%E5%AD%A6%E4%B8%8E%E7%89%A9%E7%90%86%E8%AE%A1%E7%AE%97/qutip
Command: npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill qutip-leonchaox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

QuTiP helps you simulate closed and open quantum systems so you can analyze quantum dynamics like unitary evolution, decoherence, and measurement backaction without writing a full solver from scratch.

Core Features & Use Cases

  • Closed-system evolution (unitary dynamics): Run Schrödinger dynamics with sesolve to track state evolution and observables.
  • Open-system dynamics (Lindblad master equations): Use mesolve with collapse operators to model dissipation, decoherence, and steady states.
  • Quantum trajectories and advanced physics: Simulate quantum jumps (mcsolve) and non-Markovian/periodic-drive scenarios (e.g., HEOM, Floquet methods), then visualize results (Bloch sphere, Wigner, Fock distributions).
  • Use Case Example: Model a damped harmonic oscillator and plot the photon number decay over time, then compare with steady-state or entanglement metrics when you extend to two-qubit systems.

Quick Start

Run a damped harmonic oscillator simulation by installing QuTiP, defining H, c_ops, and a time grid, then calling mesolve with e_ops to compute expectation values.

Frequently Asked Questions about qutip

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simulate open quantum systems and decoherence in Python?

To simulate open quantum systems and decoherence in Python, you can use the mesolve Lindblad master equation solver with defined collapse operators to model dissipation and track state evolution over time.

Can I model quantum trajectories and quantum jumps without writing a solver from scratch?

Yes, you can model quantum trajectories and quantum jumps using the mcsolve functionality, which simulates measurement backaction and stochastic dynamics without requiring you to build a custom solver.

What is the best way to simulate unitary evolution for a closed quantum system?

The best way to simulate unitary evolution for a closed quantum system is to use the sesolve Schrödinger dynamics solver to track state evolution and compute observables across a defined time grid.

Does this support advanced quantum dynamics like non-Markovian HEOM and Floquet methods?

Yes, this approach supports advanced quantum dynamics including non-Markovian HEOM and Floquet methods for handling periodic-drive scenarios and complex memory effects in quantum optics research.

How do I visualize quantum states like Bloch spheres and Wigner functions after simulation?

To visualize quantum states after simulation, you can generate Bloch sphere, Wigner, and Fock distribution plots directly from the output density matrices and expectation values produced by the solvers.

Can I calculate steady states, fidelity, and entropy for damped harmonic oscillators?

Yes, you can calculate steady states, fidelity, and entropy for damped harmonic oscillators by defining the Hamiltonian and collapse operators, then applying expectation value and correlation analysis workflows.