---
title: 'Fraxis: Free-Axis Selection for PQCs'
url: https://www.emergentmind.com/topics/fraxis
type: topic
---

# Fraxis: Free-Axis Selection for PQCs

Searching arXiv for recent papers on Fraxis / Free-Axis Selection to ground the article in published work.
arxiv_search(query="Fraxis OR \"Free-Axis Selection\" parameterized quantum circuit", max_results=10, sort_by="submittedDate")
Fraxis, short for Free-Axis Selection, is a sequential, gate-by-gate, gradient-free optimizer for parameterized quantum circuits (PQCs) used in variational quantum algorithms on noisy intermediate-scale quantum devices. In the cited literature, it is presented as a single-qubit local optimizer that updates one gate at a time while holding the rest of the circuit fixed, with later work extending it through gate freezing, hybrid switching schemes, and two-gate variants. Across these formulations, Fraxis occupies an intermediate position between the lower-cost Rotosolve update and the more expressive but more measurement-intensive Free-Quaternion Selection (FQS) update [2507.07742, 2510.08142, 2603.25876].

## 1. Formal setting and optimization target

Fraxis is defined on an \(n\)-qubit PQC of the form
\[
U(\vec\theta)=U_L(\vec\theta_L)\cdots U_1(\vec\theta_1),
\]
where each layer is written as
\[
U_l(\vec\theta_l)=W_l\;\bigotimes_{k=0}^{n-1}\exp\!\left(-i\theta_{n(l-1)+k}H_{n(l-1)+k}/2\right),
\]
with \(W_l\) an entanglement block and \(H_d\) Hermitian single-qubit generators, typically Pauli operators. The global objective is the expectation value
\[
C(\vec\theta)=\langle M\rangle=\mathrm{Tr}[M\,U(\vec\theta)\,\rho_0\,U(\vec\theta)^\dagger],
\qquad
\rho_0=|0^n\rangle\langle 0^n|,
\]
for an observable \(M\) [2507.07742].

The optimizer is explicitly local. When the \(d\)-th gate is targeted, the circuit is partitioned into fixed “before” and “after” blocks, typically denoted \(V_2\) and \(V_1\), so that all gates except the target are absorbed into an effective state and an effective observable:
\[
\rho \equiv V_2\,\rho_0\,V_2^\dagger,
\qquad
M \equiv V_1^\dagger\,M\,V_1.
\]
The local optimization step is then performed on a single-qubit subproblem defined by these dressed objects rather than on the full circuit [2507.07742].

This single-gate structure is central to the method’s role in VQA optimization. It yields closed-form or low-dimensional subproblems, avoids explicit gradient estimation, and makes the measurement budget per gate update predictable. At the same time, it means that Fraxis is not a global optimizer in one shot; it is an iterative coordinate-style procedure whose behavior depends on repeated sweeps over all single-qubit gates.

## 2. Original single-gate Fraxis formulation

In the original formulation recalled in the gate-freezing and two-gate extension papers, the \(d\)-th gate is parameterized as a rotation by a fixed angle \(\pi\) about an optimizable unit axis \(\hat n_d\in\mathbb R^3\), \(\|\hat n_d\|=1\):
\[
R_d(\pi,\hat n_d)=\exp\!\left[-i(\pi/2)(\hat n_d\cdot \sigma)\right],
\qquad
\sigma=(X,Y,Z).
\]
The local cost becomes
\[
\langle M\rangle_{\hat n_d}
=
\mathrm{Tr}\!\left[M\,R_d(\pi,\hat n_d)\,\rho\,R_d(\pi,\hat n_d)^\dagger\right].
\]
Fraxis then minimizes over the axis \(\hat n\) subject to the unit-norm constraint [2507.07742].

The constrained problem is written through the Lagrangian
\[
f(\hat n,\lambda)=\langle M\rangle_{\hat n}-\lambda(n_x^2+n_y^2+n_z^2-1).
\]
Stationarity, \(\partial f/\partial n_i=0\), leads to a symmetric \(3\times 3\) eigenvalue problem
\[
A\hat n = 2\lambda \hat n.
\]
The construction of \(A\) requires six expectation values:
\[
r_x=\mathrm{Tr}[M X\rho X],\quad
r_y=\mathrm{Tr}[M Y\rho Y],\quad
r_z=\mathrm{Tr}[M Z\rho Z],
\]
together with
\[
r_{x+y}=\mathrm{Tr}\!\left[M\frac{X+Y}{\sqrt2}\rho\frac{X+Y}{\sqrt2}\right],
\]
and the analogous \(r_{x+z}\) and \(r_{y+z}\). The optimal axis \(\hat n^\ast\) is the eigenvector of \(A\) corresponding to its smallest eigenvalue [2507.07742].

An equivalent notation used in the two-gate extension paper writes the local objective as a quadratic form
\[
\langle M\rangle(\hat n)=\hat n^\top \tilde S\,\hat n,
\]
where \(\tilde S\) is a real symmetric \(3\times 3\) matrix with entries
\[
\tilde S_{ab}=\mathrm{Tr}[M'\sigma_a'\rho'\sigma_b'].
\]
The diagonal terms \(\tilde S_{aa}\) and off-diagonal terms are reconstructed from six circuit evaluations, after which one diagonalizes \(\tilde S\) and replaces \(R_{\hat n}(\pi)\) by \(R_{\hat n^\ast}(\pi)\). The classical cost of the \(3\times 3\) eigendecomposition is \(O(1)\), and the quantum cost is 6 circuit evaluations per gate [2603.25876].

Operationally, one full Fraxis pass initializes \(\hat n_d\) randomly on the unit sphere for all \(d\), sweeps sequentially over all \(D=L\cdot n\) gates, constructs the local dressed problem for each gate, measures the six required quantities, solves the eigenvalue problem, and updates the gate axis. The sweep is repeated until a convergence criterion is met [2507.07742].

## 3. Axis-selection formulation in hybrid-optimizer studies

The hybrid-optimizer literature presents Fraxis through a second local formulation. There, the local subcircuit for the \(d\)-th gate is written as
\[
V_1\,e^{-i\theta H/2}\,V_2,
\]
with all other gates fixed, and one shows that the local cost has the form
\[
C(\theta)=A\cos\theta + B\sin\theta + C_0,
\]
for a fixed candidate generator \(H\in\{X,Y,Z\}\). The coefficients are obtained through parameter-shift evaluations:
\[
A = [C(0)-C(\pi)]/2,\qquad
C_0=[C(0)+C(\pi)]/2,
\]
and
\[
B=[C(\pi/2)-C(-\pi/2)]/2.
\]
The minimizing angle is
\[
\theta^\ast=\mathrm{atan2}(B,A)+\pi,
\]
with minimum value
\[
C_{\min}=C_0-\sqrt{A^2+B^2}.
\]
Fraxis is then described as looping over the three Pauli axes, computing \((A_H,B_H,C_{0,H})\), finding \((\theta_H^\ast,C_{H,\min})\), choosing
\[
H^\star=\arg\min_{H\in\{X,Y,Z\}} C_{H,\min},
\]
and updating both the axis and the angle of the gate [2510.08142].

In this presentation, one full pass over a circuit with \(L\) layers and \(n\) qubits uses 6 circuit evaluations per gate per iteration, for a total budget of at most \(6Ln\) evaluations per pass. The same source states that Fraxis is strictly more expressive than Rotosolve, which picks a fixed axis a priori, and cheaper than FQS, which optimizes a full four-parameter quaternion [2510.08142].

The coexistence of this description with the \(\pi\)-rotation eigenproblem formulation indicates that the cited literature uses the name “Fraxis” across related sequential free-axis update rules. A plausible implication is that the term is best understood operationally—as a family of local axis-adaptive single-qubit updates—rather than as a single invariant parametrization.

## 4. Gate freezing and adaptive update scheduling

The gate-freezing extension modifies Fraxis by exploiting the observation that some gate parameters may change only negligibly from one sweep to the next. The stated rationale is that future effort is then better spent on more “active” gates. For Fraxis, the tracked quantity is the axis update \(\hat n_{d,\mathrm{prev}}\to \hat n_{d,\mathrm{new}}\), and the distance is measured on the unit sphere with the identification \(\hat n\leftrightarrow -\hat n\), reflecting global phase invariance for \(\pi\)-rotations:
\[
D(\hat n_{\mathrm{prev}},\hat n_{\mathrm{new}})
=
\min\Bigl\{
\arccos(\hat n_{\mathrm{prev}}\!\cdot\!\hat n_{\mathrm{new}}),
\,
\pi-\arccos(\hat n_{\mathrm{prev}}\!\cdot\!\hat n_{\mathrm{new}})
\Bigr\}.
\]
Given a threshold \(T\in[0,\pi]\), a gate is declared “well-optimized” whenever
\[
D(\hat n_{d,\mathrm{prev}},\hat n_{d,\mathrm{new}})<T,
\]
and is then frozen for the next \(\kappa\) iterations, meaning that its update is skipped during those passes [2507.07742].

The extension also includes an incremental freeze length. Instead of a uniform fixed \(\kappa\), each gate \(d\) may be assigned its own freeze counter \(\kappa_d\), initially \(\kappa_d=1\), with the rule \(\kappa_d\leftarrow \kappa_d+1\) each time the gate is frozen. This increasingly penalizes gates that repeatedly fail to move [2507.07742].

The modified pseudocode introduces a per-gate freeze state \(F_d\), the number of remaining iterations for which the gate is frozen. If \(F_d>0\), one decrements \(F_d\) and skips the update. Otherwise, one performs the usual Fraxis local measurement and eigensolve, computes \(\Delta=D(\hat n_{d,\mathrm{prev}},\hat n_{d,\mathrm{new}})\), and if \(\Delta<T\) sets \(F_d\leftarrow \kappa_d\) and then increments \(\kappa_d\). The process continues until the total gate-update count reaches the baseline Fraxis budget or convergence occurs [2507.07742].

The practical recommendations are specific. Best performance is reported for a small threshold \(T\approx 10^{-3}\) and short freeze length \(\kappa\approx 2\)–5, or with adaptive \(\kappa\). The stated interpretation is that freezing reallocates measurement budget to “active” gates, improving sample-efficiency. The stated limitations are equally specific: \(T\) and the initial \(\kappa\) must be tuned per problem, and all tests were noiseless, so performance on real noisy hardware remains to be assessed [2507.07742].

## 5. Benchmark behavior on spin and fermionic Hamiltonians

The gate-freezing study evaluates Fraxis and its freezing variants in noiseless simulations using PennyLane 0.40 on classical hardware. Two benchmark Hamiltonians are reported: a 1D Heisenberg model and a \(1\times 3\) Fermi–Hubbard model [2507.07742].

For the 1D Heisenberg model, the Hamiltonian is
\[
H=\sum_{i=1}^n[X_iX_{i+1}+Y_iY_{i+1}+Z_iZ_{i+1}] + Z\text{-field},
\]
with \(n=5\) qubits and periodic boundary, and ground-state energy \(E_g\approx -8.47\). The PQC ansatz uses 5 layers of single-qubit Fraxis rotations and an entangling CZ network. The total gate-update budget per run is \(50\cdot 5=250\), with twenty independent random starts. The reported median final energies are summarized below.

| Setting | Baseline Fraxis | Best reported median |
|---|---:|---:|
| 1D Heisenberg, \(n=5\) | \(-8.05\) | \(-8.35\) |

At fixed \(\kappa=2\), the medians are \(-8.35\) for \(T=0.001\), \(-8.28\) for \(T=0.005\), and \(-8.18\) for \(T=0.01\), compared with \(-8.05\) for the base method. At fixed \(\kappa=5\), they are \(-8.33\), \(-8.25\), and \(-8.15\), respectively. For incremental \(\kappa\), they are \(-8.34\), \(-8.26\), and \(-8.19\). The interquartile range in the box plot shrank by approximately \(30\%\) under \(T=0.001\) versus the base method, and gate freezing cut the energy gap to \(E_g\) by approximately \(60\%\) on average [2507.07742].

For the \(1\times 3\) Fermi–Hubbard model, the system is mapped to 6 qubits via Jordan–Wigner, with tunneling \(t=U=0.5\) and ground energy \(E_g\approx -1.25\). Fraxis uses 5 layers and 30 passes. The reported median final energies over 20 runs are summarized below.

| Setting | Baseline Fraxis | Best reported median |
|---|---:|---:|
| \(1\times 3\) Fermi–Hubbard, 6 qubits | \(-0.80\) | \(-1.20\) |

For \(\kappa=2\), the medians are \(-1.18\) at \(T=0.005\), \(-1.15\) at \(T=0.001\), and \(-1.12\) at \(T=0.01\), versus \(-0.80\) for the base method. For \(\kappa=5\), they are \(-1.20\), \(-1.17\), and \(-1.10\). For incremental \(\kappa\), they are \(-1.19\), \(-1.16\), and \(-1.14\). The reported summary is that gate freezing reduces median energy error by approximately \(0.35\) versus the base method [2507.07742].

The same study tracks final \(\kappa_d\) values through freeze-count heat maps. Gates in the last PQC layer, especially the “middle” qubit, consistently accrued the largest freeze counts, indicating that they stabilized earliest, while early-layer gates tended never to freeze. This suggests a nonuniform distribution of local optimization difficulty across circuit depth [2507.07742].

## 6. Hybrids, shot noise, and scaling behavior

Fraxis is also studied as a standalone method and as a component in hybrid switching schemes. In the hybrid study, all experiments were carried out in PennyLane on three problem classes: the 1D Heisenberg model for \(n=10,15\) qubits, the 2D Fermi–Hubbard model on \(1\times 3\) mapped to 6 qubits, and random 4-qubit state-fidelity maximization [2510.08142].

Two switching strategies are defined. In Algorithm 1, termed the early-stopping switch, one starts with \(A=\) Rotosolve, computes \(\Delta C=|C_{\mathrm{prev}}-C_{\mathrm{new}}|\) after each gate update, increments a patience counter when \(\Delta C<E_{\mathrm{thresh}}\), and switches globally to \(B=\) FQS when the patience reaches \(P\). In Algorithm 2, termed the cost-average switch, one again starts with Rotosolve, maintains a sliding window of the last \(w\) values of the cost, and switches when \(|C-\langle C\rangle_{\mathrm{window}}|<E_{\mathrm{thresh}}\). The study explicitly notes that one may replace \(B=\) FQS by \(B=\) Fraxis, yielding a Roto-Fraxis hybrid [2510.08142].

The reported empirical role of Fraxis is consistent across several settings. On the Heisenberg benchmark with 10 qubits and 15 layers, standalone Fraxis converges markedly faster than Rotosolve but slower than FQS. Under shot noise in the range 2048 to 8192 shots, Fraxis retains its advantage over FQS, which suffers from heavier measurement noise due to 10 evaluations, and generally outperforms Rotosolve. Early-stopping or cost-average hybrids with Rotosolve\(\to\)FQS beat all standalone methods, with Fraxis identified as the next best standalone method [2510.08142].

On the \(1\times 3\) Fermi–Hubbard benchmark with 6 qubits and 5 layers, Fraxis again interpolates between Rotosolve and FQS in convergence speed. Under low-shot budgets of 2048 shots, Fraxis often outperforms FQS because its 6 evaluations yield lower statistical noise than the 10 evaluations required by FQS. In the scalability study for \(n=7\ldots 15\) qubits with \(L=n\) layers, Fraxis alone scales much better than Rotosolve but less well than the hybrid methods. On random 4-qubit fidelity maximization, FQS dominates, Fraxis comes second, and the hybrids trail [2510.08142].

The practical guidelines attached to this study are quantitative. Fraxis costs 6 circuit calls per gate per pass, compared with 3 for Rotosolve and 10 for FQS. Suggested hybrid parameters are \(E_{\mathrm{thresh}}\approx 10^{-2}\ldots 10^{-1}\) with patience \(P\approx 5\ldots 10\) for early stopping, and window \(w\approx 10\) with \(E_{\mathrm{thresh}}\approx 10^{-2}\) for the cost-average switch. The recommended shot range is 2 000–8 000 shots per expectation, with the specific claim that Fraxis is more noise-robust than FQS due to fewer evaluations [2510.08142].

## 7. Two-gate generalization and outstanding technical questions

The two-gate extension, Two-Gate Fraxis (TGF), generalizes the single-gate local step by optimizing two parameterized single-qubit gates simultaneously. If the two gates are \(R_d\) and \(R_k\), with the fixed block between them denoted \(V\), the local cost is
\[
\langle M\rangle_{d,k}
=
\mathrm{Tr}[M' R_d' V R_k' \rho' R_k'^\dagger V^\dagger R_d'^\dagger].
\]
Each gate is parameterized by a unit quaternion \(q\in\mathbb R^4\), \(R(q)=q_0I-i\,q\cdot \sigma\), and after expansion the cost becomes an exact quartic polynomial in \(q_d\) and \(q_k\). The coefficients are reconstructed from circuit evaluations, and the constrained classical problem
\[
(q_d^\ast,q_k^\ast)=\arg\min_{\|q_d\|=\|q_k\|=1} f(q_d,q_k)
\]
is solved by an off-the-shelf nonlinear optimizer; the implementation reported in the paper uses SLSQP [2603.25876].

The paper distinguishes four gate-pairing strategies for a circuit with \(D\) single-qubit gates: linear, random, opposite, and half-shifted. It also gives the measurement overhead explicitly. Fraxis costs 6 circuit evaluations per gate update, TGF costs 36 per gate update, which is 18 per gate, and the two-gate quaternion variant TGFQS costs 100 per gate update, or 50 per gate. The stated trade-off is between stronger local optimization and increased measurement overhead [2603.25876].

| Benchmark | Best TGF/TGFQS improvement | Best pairing |
|---|---|---|
| Fermi–Hubbard \(1\times 2\), 4 qubits | \(99\%\) / \(96.7\%\) drop in error | random |
| TFIM, 12 qubits, \(L=4\) | \(92\%\) / \(99.98\%\) drop | half-shifted |
| LiH, 12 qubits, \(L=4\) | \(99.7\%\) / \(99.8\%\) drop | random / opposite |
| BeH\(_2\), 14 qubits, \(L=4\) | \(99.8\%\) / \(99.4\%\) drop | linear |
| Fidelity maximization, 6 qubits | \(7.2\%\) / \(3.9\%\) further drop | half-shifted / random |

The reported conclusion is that TGF and TGFQS frequently achieve a lower final relative error to the ground-state energy or infidelity than their single-gate counterparts, and that the random and half-shifted pairing strategies perform best in many tested settings. In additional finite-shot experiments on Fermi–Hubbard and transverse-field Ising Hamiltonians, the best pairing strategies retain their advantage across the tested shot counts in shallow circuits. The gain is stated to be most pronounced when the circuit has moderate depth and the shot noise is not too large, with the summary recommendation that TGF is often attractive when 20–50 measurements per gate update are affordable and circuit depths are shallow, roughly \(L\sim 2\)–5 on up to approximately 15 qubits [2603.25876].

Several open technical directions are explicit in the current Fraxis literature. The gate-freezing work proposes extending freezing to multiqubit blocks via unitary-norm metrics, co-designing ansatz structure informed by freeze heat maps, and validating under realistic noise models. Because all gate-freezing tests were noiseless, assessment on real noisy hardware remains unresolved [2507.07742]. Taken together, these directions place Fraxis within an active line of research on analytic local updates, adaptive measurement allocation, and progressively larger local subproblems for PQC optimization.

Source: https://www.emergentmind.com/topics/fraxis