Preparing excited states on a quantum computer has long carried a hidden price: before the algorithm can find the state you want, you usually have to tell it roughly where that state's energy sits. The double-bracket flow framework, as applied in the Double-Bracket Quantum Algorithm for Multiple EXcited states (DB-MEX), removes that precondition. According to the paper introducing the algorithm, DB-MEX needs no estimates of target energies, no penalty parameters tuned to energy gaps, and no fixed approximations of the lower eigenstates that other techniques depend on. This article explains how the double-bracket mechanism works, why it sidesteps those requirements, and what that means for quantum chemistry, many-body physics, and materials science.

What a Double-Bracket Flow Actually Does

The machinery is borrowed from a mathematical construction in which a Hamiltonian—the operator encoding a quantum system's total energy—is gradually reshaped through repeated commutation. In a double-bracket flow, the operator is evolved by a nested commutator of the form [N, [N, H]], where H is the Hamiltonian and N is a second operator, often built from the system's own state or an operator whose structure the flow is meant to drive out of H. The double bracket measures, in effect, how much of N's structure is embedded in H, and the flow systematically suppresses it.

The result is a continuous transformation—a "flow"—that carries the Hamiltonian toward a form in which the parts of the system you are targeting become cleanly separated. Conceptually, the flow acts like a guided rearrangement: rather than searching for a specific energy value, the algorithm defines its target by how many states it wants to capture, and then lets the double-bracket dynamics herd the ensemble toward that target. For small step sizes, the discretized version of the flow follows the same trajectory, which is what makes the construction usable as an actual quantum algorithm rather than a purely formal mathematical object.

Why Excited States Are Hard—and How DB-MEX Reframes the Problem

Ground states are the natural output of most relaxation-style algorithms: many procedures simply find the lowest-energy configuration a system can occupy. Excited states are trickier. An excited state is, by definition, any of the higher-energy eigenstates of the Hamiltonian, and the difficulty is that "higher" is a relative term. To isolate the second excited state, a classical or quantum algorithm generally needs some way of knowing where the first one is, or at least what energy range separates the states it wants from the ones it does not.

The authors of the DB-MEX paper describe the standard workarounds and their costs. Folded-spectrum methods transform the Hamiltonian so that the target state becomes an effective ground state, but the transformation requires knowing roughly where the target energy lies. Shift-invert approaches similarly depend on an energy reference around which to invert the spectrum. Penalty-based schemes add terms to the Hamiltonian that push the dynamics away from lower states, but those penalties must be tuned to the energy gaps one is trying to bridge. Deflation techniques remove already-computed lower states from the search space, which means any error in the computed lower eigenstates is inherited, or carried over, by the excited states built on top of them.

DB-MEX escapes this dependency by changing what counts as the target. As the paper puts it, "the number of states in the ensemble sets the target." Instead of aiming at an energy value, the algorithm prepares an ensemble—a collection of states—whose size is chosen by the researcher, and the double-bracket flow evolves all of them together. The lower states are not frozen into fixed approximations and subtracted away, as in deflation; they evolve alongside the states of interest. This co-evolution is what prevents approximation errors in lower levels from propagating upward into the excited states.