heat-2d-schrodingerization

Solve the 2D heat equation via Schrödingerization with unitary evolution.

30|2|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/unitarylab/quantum-skills --skill heat-2d-schrodingerization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: heat-2d-schrodingerization
Source: https://github.com/unitarylab/quantum-skills/tree/main/algorithms/schrodingerization/heat-2d-schrodingerization
Command: npx skills add https://github.com/unitarylab/quantum-skills --skill heat-2d-schrodingerization

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, unitarylab, and includes scripts (resource) components.

What problem does it solve?

Automates solving the 2D heat equation using Schrödingerization to transform non-unitary diffusion into unitary evolution.

Core Features & Use Cases

  • Supports anisotropic diffusion with Dirichlet and periodic boundary conditions.
  • Provides classical and Trotter-based quantum evolution with automatic 2D circuit generation and 3D visualization.
  • Handles initial conditions and source terms, and produces a 2D temperature field suitable for analysis and benchmarking.

Quick Start

Run python ./scripts/algorithm.py to compare classical Schrödingerization with a Trotter quantum circuit for the 2D heat equation.

Frequently Asked Questions about heat-2d-schrodingerization

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

FAQPage Schema
How does Schrödingerization transform the 2D heat equation for quantum simulation?

Schrödingerization transforms the non-unitary 2D heat diffusion process into unitary evolution, enabling quantum simulation of anisotropic diffusion with Dirichlet or periodic boundaries. This allows classical and Trotter quantum routines to solve the heat equation.

Can I simulate anisotropic heat diffusion with periodic and Dirichlet boundaries using quantum circuits?

Yes, you can simulate anisotropic heat diffusion with periodic and Dirichlet boundaries. The Skill supports both classical and Trotter-based quantum evolution, automatically generating 2D quantum circuits and 3D visualizations for the temperature field.

What do I need to run a Trotter quantum circuit for the 2D heat equation?

You need a Python environment with NumPy and the unitarylab library. Running python ./scripts/algorithm.py compares classical Schrödingerization with a Trotter quantum circuit for the 2D heat equation.

How do I construct a Schrödingerized Hamiltonian for 2D heat diffusion?

The Skill assembles Kronecker-based Laplacians to form the Schrödingerized Hamiltonian, handling initial conditions and source terms to produce a 2D temperature field suitable for analysis and benchmarking.

What is the difference between classical and Trotter quantum evolution for 2D heat diffusion?

Classical evolution solves the Schrödingerized 2D heat equation directly, while Trotter quantum evolution approximates the unitary operator using quantum circuits. Both methods support anisotropic diffusion and produce comparable 3D visualizations.

Are there limitations when using Schrödingerization for non-unitary heat diffusion?

Schrödingerization applies to anisotropic diffusion with Dirichlet or periodic boundaries, requiring NumPy and unitarylab. It transforms non-unitary heat diffusion into unitary evolution but is constrained to 2D temperature fields and Trotter-based quantum circuit approximations.