| name | quantum-linear-solver-beyond-condition |
| category | quantum |
| description | Quantum linear system algorithms with complexity independent of condition number - truncation-based and filtering-based solvers beyond the HHL kappa-barrier |
| trigger_words | quantum linear solver, condition number independence, HHL improvement, block encoding, filtering-based solver, truncation solver, quantum Ax=b |
Quantum Linear Solver Beyond Condition Number (Q-QLS)
Overview
Two quantum algorithms for solving normalized linear systems Ax = |bâ© with query complexity independent of the spectral condition number Îș = âAâ»Âčâ, overcoming the traditional Îș-barrier in quantum linear system solvers. Based on Dalzell, Li, and Su (arXiv:2607.07691, 2026).
Problem Setting
Given:
- Matrix A accessed via block encoding
- State |bâ© prepared by unitary
- Goal: produce normalized solution |xâ© = Aâ»Âč|bâ© / âAâ»Âč|bâ©â to accuracy Δ
Traditional HHL: O(Îș · polylog(Îș/Δ)) â scales linearly with condition number
This work: O(Îș_eff · polylog(Îș_eff/Δ)) where Îș_eff âȘ Îș for typical instances
Algorithm 1: Truncation-Based Solver
Core Idea
Truncate the matrix inversion polynomial expansion based on effective condition number rather than worst-case Îș.
Complexity
- Queries to |bâ©: Optimal (minimal possible)
- Queries to A: O(Îș_eff · polylog(Îș_eff/Δ))
- Îș_eff bounds:
- Îș_eff †â(Aâ A)^(-t/2)|xâ©â^(1/t) / Δ^(1/t) for even t
- Îș_eff †âA^(-1â )(Aâ A)^(-(t-1)/2)|xâ©â^(1/t) / Δ^(1/t) for odd t
Implementation Pattern
def truncation_qls(block_encoding_A, state_b, epsilon, t=2):
"""
Truncation-based quantum linear system solver.
Args:
block_encoding_A: Block encoding of matrix A
state_b: Prepared state |bâ©
epsilon: Target accuracy
t: Polynomial degree parameter (even integer)
"""
kappa_eff = estimate_effective_condition(block_encoding_A, state_b, t)
poly_degree = optimal_truncation_degree(kappa_eff, epsilon)
solution_state = apply_truncated_polynomial(
block_encoding_A, state_b, poly_degree
)
return solution_state
Algorithm 2: Filtering-Based Solver
Core Idea
Extremely simple filtering approach with favorable runtime prefactor.
Complexity
- Leading order: 6 · âA^(-1â )|xâ©â/Δ · ln(1/Δ) queries to A
- Same asymptotic cost for solution norm estimation (up to log factors)
Implementation Pattern
def filtering_qls(block_encoding_A, state_b, epsilon, known_norm=False):
"""
Filtering-based quantum linear system solver.
Args:
block_encoding_A: Block encoding of matrix A
state_b: Prepared state |bâ©
epsilon: Target accuracy
known_norm: Whether âAâ»Âč|bâ©â is known a priori
"""
if known_norm:
return filter_with_known_norm(block_encoding_A, state_b, epsilon)
else:
norm_est = estimate_solution_norm(block_encoding_A, state_b, epsilon)
return filter_with_estimated_norm(block_encoding_A, state_b, epsilon, norm_est)
When to Use
Prefer Truncation-Based:
- When effective condition number is significantly smaller than Îș
- When higher precision is needed (polylog scaling in 1/Δ)
- When matrix structure allows tight Îș_eff bounds
Prefer Filtering-Based:
- When simplicity is preferred
- When solution norm is known or easy to estimate
- When favorable constant factors matter more than asymptotic scaling
Key Insights
- Îș is a worst-case measure: Typical problem instances have Îș_eff âȘ Îș
- Solution-dependent bounds: Îș_eff depends on |xâ© itself, not just A
- Affine dilation model: Joint encoding of A and |bâ© allows further refinements
- Norm estimation: Solution norm can be estimated with same asymptotic cost
Pitfalls
- Block encoding overhead: The block encoding of A may itself be expensive
- State preparation: Preparing |bâ© efficiently is non-trivial for arbitrary vectors
- Îș_eff estimation: Requires additional quantum queries to bound
- Normalization: Output is normalized state |xâ©, not the unnormalized solution vector
Activation
Use when: quantum linear systems, HHL improvement, condition number analysis, quantum algorithms, block encoding, quantum numerical linear algebra, quantum machine learning subroutines