Guide

What is a quantum solver? Classical, hybrid and quantum approaches explained

Understand quantum solvers, QUBO and Ising models, classical solvers and hybrid algorithms, plus what to compare before choosing a method.

The phrase quantum solver sounds straightforward: software that solves a problem using a quantum computer. In practice, the term is used for several different things, and that can make product comparisons surprisingly difficult.

One tool may run entirely on classical processors while solving mathematical models associated with quantum optimization. Another may call a real quantum processor. A third may combine classical search with a quantum subroutine.

They can all be relevant to the same optimization problem, but they are not interchangeable.

What does a solver actually do?

An optimization solver searches for values of decision variables that satisfy a model's constraints and improve an objective.

Suppose a business must select projects within a fixed budget. Each project has a cost and an expected value, and some pairs of projects depend on or conflict with one another. The solver's job is to find a valid combination with a strong overall result.

The model might be represented as a mixed-integer program, a constraint program, a graph problem or a QUBO. The representation affects which algorithms are suitable, but it does not determine whether the hardware is quantum.

What is a QUBO solver?

QUBO stands for quadratic unconstrained binary optimization. A QUBO assigns a score to combinations of binary variables (choices that take values of zero or one) and asks for the combination with the lowest score.

In its simplest form, a QUBO asks you to minimize xᵀQx over vectors x of binary variables. The matrix Q describes the cost of selecting individual variables and the interactions between pairs of variables.

For example, a negative coefficient might reward selecting a task, while a positive interaction might penalize selecting two tasks that compete for the same resource.

The word unconstrained describes the mathematical form. Real-world constraints often have to be encoded using penalties or other modeling techniques. Choosing penalty strengths can be difficult: penalties that are too weak may allow invalid solutions, while excessively large penalties may make the search harder.

QUBO is a model format, not a hardware category. A QUBO solver can be entirely classical.

For a worked introduction, see Getting started with QUBO in Python and QUBO penalty weights: a practical walkthrough.

Three approaches often described as quantum solvers

1. Classical QUBO solvers

These run on conventional hardware such as CPUs and use classical search algorithms. Depending on the implementation, they may explore large models and produce good solutions quickly, without any quantum device.

The 4colors Optimizer for QUBO is in this category. It is a high-performance classical solver for QUBO and Ising models, built to return a useful answer early and improve it with more computation time.

That makes it useful both for operational optimization and as a demanding baseline for quantum research.

2. Quantum-hardware solvers

These execute some computation on quantum hardware. Depending on the approach, that may involve gate-based quantum circuits or another quantum computing modality.

The model usually needs preparation before execution, and results often require classical interpretation or repair. Hardware constraints, noise, repetition counts and problem embedding can all affect performance.

A quantum processor's execution time alone is therefore not a fair measure of end-to-end solution speed.

3. Hybrid quantum-classical solvers

Hybrid methods divide work between classical and quantum computation.

A classical component might construct the model, manage constraints, update parameters and evaluate solutions. A quantum routine might be called to search a selected part of the problem. The process may repeat many times.

This is an important research direction because a complete enterprise optimization workflow contains much more than the quantum calculation itself. Whether the quantum component is useful depends on its contribution to the final result.

What about quantum-inspired solvers?

Quantum-inspired algorithms use mathematical ideas or search strategies associated with quantum optimization but run on classical machines.

They should be evaluated as classical algorithms. Their performance may be excellent on particular problems, and no quantum processor is involved. Quantum-inspired optimization without a quantum computer explains where these methods come from.

The key questions remain the same: how good is the feasible answer, how long did it take and how does it compare with alternatives?

How should solvers be compared?

First make sure the tools are solving the same mathematical problem. Different formulations, penalty settings or feasibility rules can make scores incomparable.

Then compare:

MeasureWhy it matters
FeasibilityAn attractive score is not useful if operational constraints are violated.
Objective qualityHow good is the final valid solution?
Time to first useful solutionCan the system return an actionable answer before the deadline?
Improvement over timeDoes extra computation materially improve the result?
End-to-end wall timeIncludes preparation, execution, transfers and post-processing.
ScalabilityWhat happens as variables, interactions and constraints increase?
RepeatabilityAre results consistent across instances and runs?

For quantum-hardware methods, also record hardware resources and repeated executions. For future hardware projections, distinguish measured results from estimates.

A benchmark should include strong classical methods, not just a basic or deliberately untuned reference.

A practical example: choosing a solver for scheduling

Imagine a factory with orders, machines, changeovers and deadlines.

A team could express selected decisions in a QUBO and test a classical QUBO solver. It might also compare a specialized scheduling heuristic or mixed-integer method, which may handle some constraints more naturally.

If the team wants to explore quantum methods, it can then identify a subproblem suitable for an experiment. A fair test compares the complete feasible schedules produced under equivalent time budgets, not just intermediate QUBO energy values.

This is why solver choice should follow problem formulation and benchmarking, rather than a technology label.

Where 4colors fits

4colors develops classical optimization algorithms and investigates quantum and hybrid approaches for difficult problems. The Optimizer for QUBO provides a classical solving capability; Quantum Projects describes research into quantum and hybrid algorithms; and Quantum Proof of Concept covers enterprise evaluations against classical baselines.

These are connected offerings, but they answer different questions: solve a QUBO now, develop an algorithm, or evaluate whether quantum methods could help a specific application.

How to start

Define the decision, constraints and quality metric. Choose a representation that preserves what matters operationally. Test at least one strong classical method and measure the full time-to-solution curve.

If quantum methods are relevant, compare them using the same instances and end-to-end metrics. A credible conclusion may be that a classical method remains best today, while a particular quantum routine deserves further research.

Frequently asked questions

Is a QUBO solver a quantum computer?

No. QUBO is a mathematical model, and QUBO solvers can run entirely on classical hardware.

Does the 4colors QUBO solver use quantum hardware?

No. The 4colors Optimizer for QUBO is a classical solver; our quantum-hardware research is a separate, related line of work.

What is the difference between a quantum solver and a hybrid solver?

A hybrid solver explicitly combines classical and quantum computation. The phrase quantum solver is less precise and should be checked against the actual implementation.

Is quantum-inspired the same as quantum?

No. Quantum-inspired methods run on classical hardware.

Which solver is best for my problem?

There is no universal answer. Compare feasible solution quality, total runtime, scalability and the effort required to model your constraints.

Want to see how your QUBO models solve? Compare them on the 4colors Optimizer for QUBO