jVMC 2.0: A modular and scalable library for neural quantum states

Massimo Solinas, Sven Benjamin Kožić, Wladislaw Krinitsin, Jonas B. Rigo, Noe Salmeron, Markus SchmittarXiv 2026

TL;DR

Simulating quantum systems gets exponentially harder with every particle you add, quickly overwhelming even the largest supercomputers. jVMC 2.0 is a ground-up rebuild of the JAX-based variational Monte Carlo library that uses neural networks to approximate these quantum states at scale. By sharding samples, network evaluations, and linear algebra across multiple GPUs and nodes, it opens the door to larger, more complex quantum simulations—from frustrated magnets to electrons in quantum dots.

What Problem Does This Paper Address?

If you want to simulate a quantum many-body system—say, a grid of interacting spins or a collection of electrons—you run straight into the curse of dimensionality. The Hilbert space (the mathematical space containing all possible quantum states of the system) grows exponentially with the number of degrees of freedom. Storing and manipulating the full wavefunction becomes impossible past a few tens of spins, even on the world's fastest supercomputers.

Physicists get around this by using approximate methods that exploit the structure of physically relevant states. One promising approach is Neural Quantum States (NQS), which uses neural networks as compact, flexible representations of quantum wavefunctions, trained via Variational Monte Carlo (VMC).

The catch? As you push toward larger lattices, continuous-space systems, or more expressive neural architectures (like transformers), the computational cost and memory footprint explode. You need a framework that doesn't just run on one GPU, but seamlessly distributes samples, gradients, and heavy linear algebra across many GPUs and nodes—without forcing researchers to rewrite their code every time they want to try a new network or physical system.

Methods

jVMC 2.0 is rebuilt from the ground up on JAX, organized around a clean, modular VMC optimization loop:

Figure 1: Schematic of the VMC optimization loop in jVMC. The user specifies three components (top): an objective ℓ(θ), built from an operator or a generic function; a sampler, which draws configurations s ∼pθ using a chosen proposer; and the model, a neural quantum state ψθ(s). Each iteration of the loop, handled by the optimizer (dashed region), proceeds as follows. A set of samples s1,...,sNs is drawn from the current model and used to estimate the objective ℓ(θ) and its gradient ∇θℓ. An optimizer-specific step then computes the parameter update δθ, and the network is updated as θ ←θ + δθ before new samples are drawn. For natural-gradient and time-dependent schemes, the step relies on two further interchangeable components (bottom): a solver for the linear system determining ˙θ, and a stepper that integrates θ(t) →θ(t + δt).

As illustrated above, the user defines three core components:

  1. The Model ($\psi_\theta(s)$): A neural quantum state parameterized by $\theta$.
  2. The Sampler ($s \sim p_\theta$): Draws spin or particle configurations using a chosen proposer.
  3. The Objective ($\ell(\theta)$): Built from a physical operator (like a Hamiltonian) or a generic function.

In each iteration, the optimizer draws a batch of samples, evaluates the objective and its gradient $\nabla_\theta \ell$, and updates the parameters $\theta \leftarrow \theta + \delta\theta$. For more advanced schemes—like natural-gradient optimization or real-time quantum dynamics—the step also plugs into two interchangeable components: a solver for the linear system determining $\dot{\theta}$, and a stepper that integrates $\theta(t) \rightarrow \theta(t + \delta t)$.

What’s new in 2.0: * Multi-GPU & Multi-Node Sharding: Samples, network evaluations, and Jacobian products are sharded across devices, paired with memory-efficient distributed linear algebra (including distributed matrix inversion with JAXMg). * Expanded Physics & Architectures: Adds native support for continuous-space systems, fermions, symmetry projections, autoregressive networks, transformer architectures, and mixed-precision arithmetic.

Datasets

Unlike traditional machine learning, VMC doesn't rely on a static training dataset—it generates its own configuration samples on the fly from the neural quantum state itself.

To benchmark and showcase the library, the authors evaluate it on three classic, challenging quantum physics problems:

  • The frustrated $J_1$–$J_2$ model (ground-state search using mixed precision).
  • Electrons in a two-dimensional quantum dot (continuous-space ground state).
  • Quench dynamics in the 2D transverse-field Ising model on lattices of up to $10 \times 10$ sites.

Key Insights and Ideas

  • Sharding the whole pipeline, not just the data: Scaling NQS isn't just about splitting up a batch of samples. By sharding network evaluations and Jacobian products—and using memory-efficient distributed linear algebra—jVMC 2.0 makes it practical to train models with very large parameter counts.
  • Modularity pays off: Decoupling networks, samplers, operators, objectives, solvers, and steppers means the same core loop can handle wildly different tasks, from finding ground states to simulating real-time unitary dynamics.
  • Moving beyond discrete spins: Adding continuous-space operators and fermionic support bridges the gap between lattice spin models and real-world quantum chemistry or condensed-matter systems.

Key Results

(Note: The provided excerpt includes the abstract, introduction, and table of contents, but not the full benchmark tables from Section 3.)

In the abstract, the authors report benchmarking jVMC 2.0's scaling across multiple devices (including comparisons against NetKet) and demonstrating its capabilities on:

  • Ground states of the frustrated $J_1$–$J_2$ model with mixed-precision arithmetic.
  • Ground states of electrons in a 2D quantum dot.
  • Real-time quench dynamics in the 2D transverse-field Ising model on lattices up to $10 \times 10$ sites.

Limitations and Future Work

Not discussed in the provided excerpt.

Summary updated

BibTeX
@misc{solinas2026jvmc,
  author = {Massimo Solinas and Sven Benjamin Kožić and Wladislaw Krinitsin and Jonas B. Rigo and Noe Salmeron and Markus Schmitt},
  title = {{jVMC 2.0: A modular and scalable library for neural quantum states}},
  year = {2026},
  eprint = {2611.41541},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.41541},
}
Figure