using-netket

Configure and execute neural quantum state simulations with NetKet and JAX.

60|92|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/QuantumBFS/quantum.harness --skill using-netket
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-netket
Source: https://github.com/QuantumBFS/quantum.harness/tree/main/skills/using-netket
Command: npx skills add https://github.com/QuantumBFS/quantum.harness --skill using-netket

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires netket, jax, flax, optax, matplotlib, and includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex setup and execution of Variational Monte Carlo (VMC) simulations for quantum many-body systems, reducing the friction of configuring JAX-based neural quantum states.

Core Features & Use Cases

  • Simulation Workflow: Provides a structured path for defining Hilbert spaces, Hamiltonians, and variational ansätze.
  • Optimization & Validation: Guides the user through Stochastic Reconfiguration (SR) and statistical validation checks like energy variance and autocorrelation analysis.
  • Use Case: Researchers can use this to quickly prototype a neural-network-based ground state solver for a 2D frustrated Heisenberg model, ensuring correct device (CPU/GPU) and optimizer settings.

Quick Start

Use the using-netket skill to configure a VMC simulation for a 1D Heisenberg chain using an RBM ansatz and the Stochastic Reconfiguration optimizer.

Frequently Asked Questions about using-netket

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

FAQPage Schema
How do I configure a VMC simulation for a quantum many-body system?

To configure a VMC simulation, you define the Hilbert space, Hamiltonian, and variational ansatz, then tune samplers and optimize energy using Stochastic Reconfiguration. This framework provides a structured workflow for setting up and executing neural quantum state simulations.

Does NetKet work with JAX and Flax for neural network quantum states?

Yes, NetKet works directly with JAX and Flax for neural quantum states. The framework leverages JAX-compatible environments and dependencies like Flax and Optax to define and optimize variational ansätze for quantum many-body systems.

What is the best way to optimize a variational ansatz for a 2D Heisenberg model?

The best way to optimize a variational ansatz for a 2D Heisenberg model is using Stochastic Reconfiguration. This method minimizes energy while statistical validation checks, such as energy variance and autocorrelation analysis, ensure the ground state solver is accurate.

Can I run variational Monte Carlo simulations on a GPU?

Yes, you can run variational Monte Carlo simulations on a GPU. The framework supports specific hardware profiles for GPU-accelerated computation and requires JAX-compatible environments to execute neural quantum state simulations efficiently.

Why use Stochastic Reconfiguration for neural quantum state simulations?

Stochastic Reconfiguration is used for neural quantum state simulations to effectively minimize energy during optimization. It is paired with statistical validation checks like energy variance and autocorrelation analysis to ensure the accuracy of the quantum many-body ground state.

Do I need to install Optax and Matplotlib to use this simulation framework?

Yes, you need to install Optax and Matplotlib alongside NetKet, JAX, and Flax. Optax is required for the optimization algorithms, while Matplotlib is used for visualizing the simulation results and statistical validation checks.