A geometric approach to designing quantum algorithms
Marek Gluza
Nanyang Technological University
Singapore
4 stages of creating quantum algorithms
Guidelines for using quantum computing


Stage 1: Think. What is the goal?
Important problems that are difficult yet doable.
Encode what we know in \(\vec{v}_{input}\).
Decode information from \(\vec{v}_{output}\).
Find effective heuristics to reduce the runtime of rotations \(R_k\)
Find rotations such that
\(\vec{v}_{output} \approx R_1 R_2 \ldots R_n \vec{v}_{input}\)

Stage 2: Design. How to encode task in quantum mechanics?

Stage 4: Run it.
What instructions to send?

Stage 3: Algorithm. How to find \(\vec{v}_{output}\)?

Guidelines for extracting utility from quantum computing

Stage 1: Think. What is the goal?
- Bridge between needs of humans and technological feasibility.
- Exchange domain expertise with industry partners.
- This talk: General-purpose optimization solver in quantum computing based on non-Euclidean geometry.
- Numerics: Algorithms optimized for execution on leading prototypes.
Stage 4: Run it.
What instructions to send?
Stage 2: Design. How to encode task in quantum mechanics?
Stage 3: Algorithm. How to find \(\vec{v}_{output}\)?
4 stages of creating quantum algorithms

2. Design choice:
How to go about it?

4. Circuit compilation:
What gates to do?


1. Problem choice:
What challenge to take up?
3. Unitary synthesis:
How to do it?


4 stages of creating quantum algorithms
Quantum computing cannot be useful if
- The problem can be solved quickly on classical computers
- Solving the problem isn't important
- Solving the problem is too hard for the quantum computer

Classical computation
Key question in current quantum computation:
Find an important problem which is difficult yet doable
Millenials doing quantum computing


What challenge to take up?
Quantum computing cannot be useful if
- The problem can be solved quickly on classical computers
- Solving the problem isn't important
- Solving the problem is too hard for the quantum computer


What challenge to take up?
Materials science?

Why materials science? Imagine improving photovoltaics by 1%.
What needs to be done? Perform \(\bra\psi H\ket\psi\) optimization.
How? Quantum circuit synthesis.
Key question in current quantum computation:
Find an important problem which is difficult yet doable
4 stages of creating quantum algorithms

2. Design choice:
How to go about it?



1. Problem choice:
What challenge to take up?

Double-bracket quantum algorithms:
Systematic framework for unitary synthesis

4 stages of creating quantum algorithms
4. Circuit compilation:
What gates to do?
3. Unitary synthesis:
How to do it?
4 stages of creating quantum algorithms

1. Design choice:
How to go about it?

3. Circuit compilation:
What gates to do?


0. Problem choice:
What challenge to take up?
2. Unitary synthesis:
How to do it?


4 stages of creating quantum algorithms
Imaginary-time evolution
4 stages of creating quantum algorithms

2. Design choice:
How to go about it?



1. Problem choice:
What challenge to take up?

Double-bracket quantum algorithms:
Systematic framework for unitary synthesis

4 stages of creating quantum algorithms
4. Circuit compilation:
What gates to do?
3. Unitary synthesis:
How to do it?
Mathematically, states of the quantum computer are like arrows pointing from the center of the sphere to its surface.
Observation leading to double-bracket quantum algorithms: Earth is not flat. I.e., when we walk along of the equator, we think we are going straight but eventually we will wrap around it.
Fixing a direction and rotating the arrow, corresponds to a type of of quantum computing operation.

Stage 3: Algorithm. How to find \(\vec{v}_{output}\)?


Riemannian geometry underlies quantum algorithms
On a flat surface DOWN-LEFT-UP-RIGHT will return to point of origin.


Stage 3: Algorithm. How to find \(\vec{v}_{output}\)?


Riemannian geometry underlying quantum algorithms
On a flat surface DOWN-LEFT-UP-RIGHT will return to point of origin.
On a curved surface SOUTH-WEST-NORTH-EAST will spiral way.


Stage 3: Algorithm. How to find \(\vec{v}_{output}\)?


Riemannian geometry underlying quantum algorithms


My work on double-bracket quantum algorithms shows how to use this spiraling effect to implement non-Euclidean gradient descent in quantum computing.

Regular machine learning fails for quantum computing but our generalization works. The 'failed' machine learning is still key for us - as a warm-start!

(Physical Review Letters '26)

Stage 3: Algorithm. How to find \(\vec{v}_{output}\)?

Riemannian geometry underlying quantum algorithms
Riemannian geometry is essential for quantum computation
- The unitary group \(U(d)\) is a Riemannian manifold
- It is an embedded manifold \(U(d) = \{M\in \mathbb C^{d\times d}:~M^{-1}=M^\dagger\}\)
- The tangent space is \(\{W\in \mathbb C^{d\times d}:~W^{\dagger}= -W\} \simeq\{iH \mathrm{~where~} H=H^\dagger\in \mathbb C^{d\times d}\} \)
- The geodesics are matrix exponentials \( \{e^{sW}\}_{s\in\mathbb R} \subset U(d)\) or \( \{e^{isH}\}_{s\in\mathbb R} \subset U(d)\)
- Computing a "gradient" must output an element of the tangent space





\(\partial_{i,j}\) points to the interior, not tangential
Keep this in mind for later: Unlike in flat space, these 4 steps spiral away from the point of origin
Riemannian geometry is essential for quantum computation
- The unitary group \(U(d)\) is a Riemannian manifold
- The tangent space is \(\{H\in \mathbb C^{d\times d}:~H^{\dagger}= H\} \)
- The geodesics are matrix exponentials \( \{e^{isH}\}_{s\in\mathbb R} \subset U(d)\)
- \(U(d)\) is a curved manifold

Operating a quantum computer is all about the group of unitary matrices
Think of rotations on a sphere
The Lie bracket of two 'velocities' is again a velocity:
Check: \([A,B]^\dagger = (AB- BA)^\dagger = B^\dagger A^\dagger -A^\dagger B^\dagger = -[A,B]\)

\([A,B]^\dagger = -[A,B]\)
Check: \([A,B]^\dagger = -[A,B]\)
Operating a quantum computer is all about the group of unitary matrices
Think of rotations on a sphere
Fact 3: The Lie bracket of two 'velocities' is again a velocity

Operating a quantum computer is all about the group of unitary matrices
Think of rotations on a sphere
Fact 3: The Lie bracket of two 'velocities' is again a velocity
My quantum algorithms use such unitary matrices - they are implementing Riemannian gradient descent
The main tool of double-bracket quantum algorithms


Note that choosing \(A=H\) doesn't change the energy
Let's find which directions \(A\) are more useful!
\(\partial_{i,j}\) points to the interior, not tangential so which direction is best?
Text
We need to find a tangential direction which lowers the energy of \(\ket\psi\)
Riemannian gradient: Unique vector \(g\) in the tangent space
such that the directional derivative is a projection onto \(g\)

\(\partial_{i,j}\) points to the interior, not tangential so which direction is best?
We will use very simple ingredients to find \(g\) for \(E(\psi) = \langle \psi| H | \psi\rangle\):
Hilbert-Schmidt scalar product:
Cyclicity of trace:
Tangent space:
Let's see how a direction \(A=A^\dagger\) changes the energy of \(\ket\psi\)
This bracket is called the Riemannian gradient

Double-bracket quantum algorithms:
Systematic framework for implementing exponentials of commutators on quantum computers. This uncovered new unitary synthesis formulas.


Double-bracket flows
|
Heisenberg equation |
Linear, variable: observable |
|---|---|
|
Schroedinger equation |
Linear, variable: density matrix |
|
Double-bracket flow |
Non-linear, variable: density matrix or observable The solution is a unitary rotation because |
Why double a bracket?

2 qubit unitary
Canonical
Double-bracket quantum algorithms
are inspired by double-bracket flows
and allow to perform optimization through short quantum computations
4 stages of creating quantum algorithms

2. Design choice:
How to go about it?

3. Circuit compilation:
What gates to do?


0. Problem choice:
What challenge to take up?
3. Unitary synthesis:
How to do it?


4 stages of creating quantum algorithms

4 stages of creating quantum algorithms

2. Design choice:
How to go about it?



1. Problem choice:
What challenge to take up?

Double-bracket quantum algorithms:
Systematic framework for unitary synthesis

4 stages of creating quantum algorithms
4. Circuit compilation:
What gates to do?
3. Unitary synthesis:
How to do it?
4 stages of creating quantum algorithms

Product formula approximation:
\(e^{\tau[|\psi\rangle\langle\psi|,H]} = e^{i\sqrt{\tau}H}e^{i\sqrt{\tau}|\psi\rangle\langle\psi|}e^{-i\sqrt{\tau}H}e^{-i\sqrt{\tau}|\psi\rangle\langle\psi|} + O(\tau^{3/2})\)
4 stages of creating quantum algorithms
2. Unitary synthesis:
How to do it?


1. Design choice:
How to go about it?

3. Circuit compilation:
What gates to do?


0. Problem choice:
What challenge to take up?


3. Circuit compilation:
What gates to do?
Product formula approximation:
\(e^{\tau[|\psi\rangle\langle\psi|,H]} = e^{i\sqrt{\tau}H}e^{i\sqrt{\tau}|\psi\rangle\langle\psi|}e^{-i\sqrt{\tau}H}e^{-i\sqrt{\tau}|\psi\rangle\langle\psi|} + O(\tau^{3/2})\)
Quantum algorithm DB-QITE - iterate recursively:
- Define \(|{\psi_k}\rangle = U_k |0\rangle\)
- Use \(e^{is |\psi_k\rangle\langle\psi_k|} = U_ke^{is |0\rangle\langle0|}U_k^\dagger \)
- Recursively iterate \( U_{k+1} = e^{is H} U_k e^{is |0\rangle\langle 0|} U_k^\dagger e^{-is H} U_k\)
3 stages of creating quantum algorithms

1. Design choice:
How to go about it?

3. Circuit compilation:
What gates to do?


0. Problem choice:
What challenge to take up?

4 stages of creating quantum algorithms
2. Unitary synthesis:
How to do it?


PRL '26

3. Circuit compilation:
What gates to do?
Product formula approximation:
\(e^{\tau[|\psi\rangle\langle\psi|,H]} = e^{i\sqrt{\tau}H}e^{i\sqrt{\tau}|\psi\rangle\langle\psi|}e^{-i\sqrt{\tau}H}e^{-i\sqrt{\tau}|\psi\rangle\langle\psi|} + O(\tau^{3/2})\)
Quantum algorithm DB-QITE - iterate recursively:
- Define \(|{\psi_k}\rangle = U_k |0\rangle\)
- Use \(e^{is |\psi_k\rangle\langle\psi_k|} = U_ke^{is |0\rangle\langle0|}U_k^\dagger \)
- Recursively iterate \( U_{k+1} = e^{is H} U_k e^{is |0\rangle\langle 0|} U_k^\dagger e^{-is H} U_k\)
3 stages of creating quantum algorithms

1. Design choice:
How to go about it?

3. Circuit compilation:
What gates to do?


0. Problem choice:
What challenge to take up?


4 stages of creating quantum algorithms
2. Unitary synthesis:
How to do it?


PRL '26
Numerical results for DB-QITE:
DB-QITE:
- Define \(|{\psi_k}\rangle = U_k |0\rangle\)
- Recursively iterate \( U_{k+1} = e^{is H} U_k e^{is |0\rangle\langle 0|} U_k^\dagger e^{-is H} U_k\)
Then:







Quantinuum
PRL '26
Double-bracket quantum algorithms
Click these links at slides.com/marekgluza
| Diagonalization | https://arxiv.org/abs/2206.11772 | ||
|---|---|---|---|
| Imaginary-time evolution | https://arxiv.org/abs/2412.04554 | ||
| Quantum signal processing | https://arxiv.org/abs/2504.01077 | ||
| Grover's search | https://arxiv.org/abs/2507.15065 | Approximates ITE |
Solve the unitary synthesis problem in all these cases through Riemannian gradients!
Double-bracket quantum algorithms
- Coherently implement Riemannian gradient steps
-
Give rigorous unitary synthesis for
- imaginary-time evolution
- quantum signal processing
- diagonalization unitaries
- Grover's as an approximation to imaginary-time evolution
- Training quantum circuits from data doesn't work well, unlike in classical machine learning applications. However those variational learning methods are great for warm-starting double-bracket quantum algorithms!



Tell me when not fast enough? Get stuck? Something else?
Your input is needed to improve them!
N. Ng

Z. Holmes

R. Zander

R. Seidel

Y. Suzuki

B. Tiang

J. Son

S. Carrazza

Stay in touch on LinkedIn:
Text
Text
Text
Copy of IEEE Aalborg 2026
By Marek Gluza
Copy of IEEE Aalborg 2026
- 34