qutip

Simulates quantum mechanical systems and analyzes their properties using Python libraries.

13|3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/tassiovale/claude-code-kit --skill qutip-tassiovale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qutip
Source: https://github.com/tassiovale/claude-code-kit/tree/main/skills/qutip
Command: npx skills add https://github.com/tassiovale/claude-code-kit --skill qutip-tassiovale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires qutip, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of tools for simulating and analyzing quantum mechanical systems, catering to physics researchers and educators.

Core Features & Use Cases

  • Quantum State Manipulation: Create and manipulate quantum states and operators.
  • Time Evolution: Solve for time evolution of quantum states using various solvers.
  • Analysis and Measurement: Compute expectation values, entanglement, and other quantum properties.
  • Visualization: Visualize quantum states and dynamics on the Bloch sphere, Wigner function, etc.
  • Use Case: A physics researcher studying open quantum systems can use this Skill to simulate and analyze decoherence, quantum optics, and cavity QED.

Quick Start

To visualize the time evolution of a quantum state using the sesolve solver, you would use the following command:

from qutip import *
import numpy as np
import matplotlib.pyplot as plt

# Create quantum state and operator
psi = basis(2, 0)  # |0⟩ state
H = sigmaz()  # Hamiltonian

# Define time list
tlist = np.linspace(0, 10, 100)

# Solve the Schrödinger equation
result = sesolve(H, psi, tlist)

# Plot results
plt.plot(tlist, result.expect[0])
plt.xlabel('Time')
plt.ylabel('⟨σz⟩')
plt.show()

Frequently Asked Questions about qutip

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

FAQPage Schema
How do I simulate the time evolution of a quantum state in Python?

To simulate the time evolution of a quantum state in Python, define a Hamiltonian and initial state, then pass them to a Schrödinger equation solver like `sesolve` to calculate dynamics and expectation values over time.

What is the best way to model open quantum systems and decoherence?

Modeling open quantum systems and decoherence involves simulating the interaction of a quantum state with its environment, which this approach handles by analyzing cavity QED and quantum optics properties using Python libraries.

Can I visualize quantum state dynamics on the Bloch sphere?

Yes, you can visualize quantum state dynamics on the Bloch sphere, alongside Wigner functions, to graphically represent the time evolution and properties of your quantum mechanical systems.

How do you compute expectation values and entanglement for quantum optics?

Computing expectation values and entanglement for quantum optics requires manipulating quantum states and operators, allowing you to analyze measurement properties and quantum correlations within your simulated system.

Do I need prior quantum mechanics knowledge to use this for physics research?

Yes, prior knowledge of quantum mechanics is needed to effectively use this for physics research and education, as you must define Hamiltonians, quantum states, and interpret decoherence or cavity QED outputs.