Physical AI needs Quantum

Energy-based modelsQuantum computingRobotics
November 27, 2026

Author: Qognitive Team

Introducing the QGEM paradigm

Ask a modern chatbot a question, and it responds like a storyteller improvising one word at a time, committing to each choice before knowing how the sentence will end. Energy-based models (EBMs) borrow a different principle from physics. Rather than building an output sequentially by assigning probabilities to every possible next step, an EBM evaluates a complete candidate solution and scores how well its parts fit together: low "energy" for consistent configurations, high energy for ones that clash, much like a ball settling into the lowest valley of a hilly landscape. Cognitively, this mirrors how humans actually make decisions. When deciding whether to bring an umbrella, you don't calculate the exact probability of rain; you weigh the rough likelihood of getting wet against the hassle of carrying it. Better yet, EBMs unlock a remarkable property called compositionality: because separate energy landscapes can simply be added together, you can combine distinct goals and constraints on the fly without retraining from scratch. This multi-modal, modular approach is ideal for robotics and multi-agent planning: with Quantum Geometry Energy Models (QGEMs), we finally make it tractable, trainable, and ready for real-world applications.

In this post, we cover:

  • Why EBMs stayed in academia: How intractable normalizing constants and mixed data types have held back traditional neural-network EBMs.
  • Introducing QGEMs: How Quantum Geometry Energy Models use Quantum Cognition Machine Learning (QCML) to build trainable, composable energy landscapes that train on GPUs but are also quantum-ready.
  • Modular robot coordination: How summing three simple energy terms lets warehouse robots resolve tight intersections without hardcoded priority rules.
  • QGEM vs. a Frontier LLM: A head-to-head test routing 24 robots through a dense 20×30 warehouse, where a locally run QGEM finds a collision-free plan in 1.3 seconds, while a frontier LLM takes nearly 4 minutes and still causes 7 collisions.

The idea of EBMs is more than forty years old. In 1982, physicist John Hopfield described a neural network that stores memories as valleys in an energy landscape. In 1985, David Ackley, Geoffrey Hinton and Terrence Sejnowski introduced the Boltzmann machine, which learned using ideas from statistical physics. Hopfield and Hinton shared the 2024 Nobel Prize in Physics for work of this kind. In 2006, Yann LeCun and colleagues gave the field a unifying framework in their tutorial on energy-based learning.

Learn more about how EBMs differ from LLMs in this video.

So why haven't EBMs seen wider adoption outside of academic research? Ironically, the bottleneck is the very thing that makes them so powerful. Training a model to produce unnormalized energy scores from data is incredibly difficult, because traditional statistical learning techniques (such as maximum likelihood estimation) rely on normalized probability distributions, and calculating normalizing constants is impossible for traditional neural-network EBMs. So in a way, the very flexibility and compositionality that make EBMs 'human-like' in their reasoning also make them challenging to train with conventional neural networks. Mixed data types pose another hurdle for neural-network EBMs: while discrete variants like Boltzmann machines can be highly effective, combining continuous and discrete variables in a single model remains difficult.

To overcome these difficulties, we have developed QGEMs (Quantum Geometry Energy Models), a new type of energy-based model grounded in Quantum Cognition Machine Learning (QCML). The fundamental idea is to replace traditional neural network parametrizations of the energy function with the foundational QCML architecture. In this way, the energy landscape of any given dataset or problem emerges out of a deeper, latent structure that is learned from the data at the level of quantum states. The name is a nod to Quantum Geometry, a branch of quantum gravity research that explores how emergent manifolds can be carved out of finite-dimensional Hamiltonian-based energy functionals. In practice, QGEMs harness this same principle to build flexible, composable energy landscapes that stay tractable and genuinely trainable.

A generic neural-net EBM and QGEM both fit the two half-moons dataset in this schematic. The neural EBM starts from a random energy landscape and it struggles to normalize the energy away from the data: if the negative samples used to estimate the normalizing constant miss that valley during training, the model can assign too much probability there. In contrast, QGEM starts from a well-defined energy landscape with a closed-form normalizer, and the fitted surface keeps energy high at the same location throughout training, avoiding spurious low-energy regions.

QGEMs also sidestep the divide between continuous and discrete variables. Because the underlying QCML architecture handles mixed data types natively, it weaves both kinds of information into a single, latent quantum-state energy landscape. That flexibility amplifies QGEMs' compositional power, making them a natural fit for complex, real-world planning problems where continuous and discrete factors are tightly intertwined.

In this blog, we illustrate the power of QGEMs in one of the most challenging settings for current ML/AI paradigms: multi-agent path finding (MAPF) in dense warehouse environments. MAPF, a core planning problem for physical AI, is a prime example of where today's mainstream AI architectures hit a wall. Coordinating multiple agents without collisions requires juggling a web of tightly coupled, global constraints, precisely where sequential, step-by-step models break down. For QGEMs, however, it's a natural testing ground: individual goals and collision-avoidance rules can simply be composed into a single energy landscape, allowing valid, conflict-free trajectories to emerge naturally and efficiently.

A quick note on hardware: QCML and QGEMs do not require quantum computers. They run on standard GPU clusters and fit right into existing machine learning development and deployment frameworks. That said, they are uniquely positioned to capitalize on future advances in quantum hardware. In fact, the compositional power at the heart of QGEMs' success in robotics planning can scale exponentially when implemented natively on quantum machines.

Combining QGEMs for warehouse robot fleet planning

Imagine a fleet of robots navigating a shared warehouse space. Each robot has a specific goal, and the challenge is to coordinate their movements to avoid collisions while efficiently reaching their destinations. Classical search planners require an explicit, hardcoded map and often hit exponential search blowups or greedy deadlocks when many agents contend for the same narrow passageways at once.

Energy-based models (including QGEMs) instead offer a uniquely natural architecture for multi-robot coordination because energies compose additively across independent rules and tasks. In our case, we represent a fleet schedule as a sequence of grid cells for each robot, and we score the whole schedule by decomposing it into three separate energy terms, each corresponding to its own QGEM:

Efleet=Emotion+Eseparation+EswapE_{\text{fleet}} = E_{\text{motion}} + E_{\text{separation}} + E_{\text{swap}}

The motion QGEM scores each robot’s move or wait at every step, penalizing moves into blocked cells or jumps between nonadjacent cells. For each pair of robots, the separation QGEM penalizes sharing a cell at the same time, and the swap QGEM penalizes crossing the same edge in opposite directions during a single step. Potentially, more energy terms could be added to introduce start/goal boundary anchors or sensor-safety consistency checks, but for simplicity, we focus on these three core components in our examples.

At inference, the combined energy functional is minimized to guide the search for a schedule. A plan passes only if every robot reaches its goal and the schedule contains no cell collisions, edge swaps, wall hits, or illegal jumps.

Toy Example: Four robots, one intersection

In our first example, four robots start in the corners of a 7×77 \times 7 grid. Each is headed to the diagonally opposite corner, and four shelving blocks limit the routes through the middle. QGEM's schedule successfully coordinates their movements through the central intersection without collisions:

Four robots cross a 7-by-7 warehouse grid to reach their opposite corners

Watch the yellow robot, R3, as it approaches the central intersection from the west. It waits outside the intersection at time steps 6 and 7 while R0 and R2 cross, then moves through at step 8. The planner has no preset priority order. Waiting becomes part of the schedule because it scores the intersecting routes together. By the end of the plan, all four robots have reached their destinations without a conflict.

Multiple robots, complex layout: QGEM vs. AI Frontier Large Language Model

In a realistic setting, the planner model must handle coordination between multiple robots in a complex, asymmetric layout. Standard algorithms such as Conflict-Based Search (CBS) or prioritized planning often struggle with scalability and flexibility in such environments, especially when the number of robots increases or the layout becomes highly constrained. We randomly generated an asymmetric 20x30 grid with 300+ obstacles and 24 robots, and compared QGEM's performance against a well-known frontier Large Language Model (LLM), released by a leading AI lab in November 2026, at the time this blog was written. The LLM was given the grid and prompted as follows through an API:

Solve this Multi-Agent Path Finding (MAPF) warehouse problem (grid attached).

Rules:
1. Return exactly {R} trajectories, each with exactly {T} steps (t=0 to t={T - 1}).
2. Each step is [row, col]. Start at t=0 must match start; t={T - 1} must match goal.
3. At each step, move 1 cell along a valid transition or wait in place. Never enter walls.
4. No two robots may occupy the same cell at the same t, and no two robots may swap cells between t and t+1.

Just as in the Sudoku challenge discussed in the video linked earlier, we disabled coding execution in the LLM API. This is done to prevent the LLM from just writing a script to solve the problem, piggybacking on well-known methods or brute-force approaches. Indeed, when we allowed the LLM agent to code, it attempted to solve the problem using a prioritized planning algorithm. This would tell us nothing about the reasoning abilities of the model itself, and it would result in just testing QGEM vs. standard approaches, whose failure points in high-density scenarios are well-documented elsewhere.

We show both QGEM and the LLM's solutions in the animations below:

QGEM vs. LLM solution for a complex warehouse layout

While the LLM correctly routes each robot towards its goal avoiding obstacles, it fails to efficiently handle congested areas, such as the intersection at grid coordinates (15,13), where several collisions occur. As the number of robots and the complexity of the layout increase, these inefficiencies become more pronounced. This clearly highlights the advantages of QGEM's composable energy-based planning approach, where the problems of managing each individual robot's trajectory and at the same time coordinating with the rest of the fleet are tackled by two separate but interacting energy functions.

Looking at the logs, we also see a clear computational cost advantage for QGEM vs. the Frontier LLM:

RankModelPass/FailTotal violationsAvg. movesAvg. training (s)Avg. solve (s)
1QGEMPASS0664.07.341.27
2Frontier LLMFAIL7754.00.00222.84

While the LLM required no training (vs. 7s for QGEM), its solve time was significantly higher: 1.3s for a valid solution by QGEM, vs. almost 4 minutes for an incorrect solution by the LLM. Both tests were run on the same laptop, where QGEM was running locally while the LLM relied on remote computation through an API call. We expect this gap to widen further as the problem size increases, as is typical in real-world applications.

The future of energy-based models in robotics

As these warehouse experiments show, energy-based models no longer need to stay confined to academic research. By making composable energy landscapes tractable and trainable, QGEMs turn a forty-year-old idea from statistical physics into a practical engine for real-world coordination, solving locally in seconds what trips up frontier autoregressive models. Multi-agent path finding is only the beginning: wherever autonomous systems must balance competing goals, strict physical constraints, and mixed data types, QGEMs offer a modular, resilient foundation for planning that runs on today's hardware and is built to scale massively on tomorrow's quantum computers.