Skip to content
PENNYLANE · QISKIT · CIRQ · BRAKET · PYTKET · MCP · OPEN SOURCEsuperquantx.dev

OPEN SOURCE PYTHON SDK · BY SUPERAGENTIC AI

An open software layer across quantum SDKs, with a classical baseline for every result.See whether the quantum part earns its keep.

superquantx · install
$ uv add "superquantx==0.3.0"
Python 3.11+ · built-in simulator, no API key

A REAL SAVED RESULT

LOCAL SIMULATOR

Two qubits. One linked result.

This Bell test uses two simulated quantum bits. Across 1,024 measurements, both bits always had the same value.

Bell test measurement counts
Both bitsCountShare
0051149.9%
1151350.1%

Saved with SDK 0.3.0 and seed 42. This is a computer model, not a live cloud test. It does not show that quantum methods beat standard ones.

Download the saved result (JSON)

DEMO

Watch SuperQuantX 0.3.0

A short silent walkthrough with captions on screen: one interface across SDK backends on local simulators, VQE and QAOA with classical checks, then the local MCP server with all six tools.

SuperQuantX 0.3.0 · Local simulation · No quantum hardware used

NEW TO QUANTUM AI?

A shared workbench for quantum experiments

SuperQuantX is an open source toolkit that makes quantum AI experiments easier to run and compare. You use one Python interface across different quantum frameworks, with classical methods alongside, so you can see what actually helps.

Think of it as a shared experimental workbench: different quantum engines underneath, one interface on top, and a classical benchmark beside the results.

Machine learning
Train a quantum classifier and compare its accuracy with conventional models.
Optimisation
Split a network (MaxCut) or select a portfolio, then compare with the classical solution.
Chemistry
Estimate a small molecule's ground-state energy and check it against the exact answer.
AI assistants
MCP tools let an assistant run circuits, inspect backends and try small experiments.

Today: the validated workflows run on local quantum simulators. Running on real hardware, and any useful quantum advantage, need separate evidence.

THE PROBLEM

A quantum result means little without a baseline

Quantum SDKs each have their own API, and most examples stop at the quantum number. SuperQuantX runs the same circuits and algorithms on several SDKs and reports a classical reference beside each result, so you can tell when a quantum model does not beat a classical one.

SUPPORTED BACKENDS

One API across quantum SDKs

Six gate-model backends are tested in the SDK unit tests on their local simulators. D-Wave Ocean runs QUBO and Ising problems. Hardware goes through each SDK with your own credentials and is not tested.

All backends and examples
PLANNED, NOT IMPLEMENTED IN 0.3.0Microsoft logoAzure QuantumRigetti logoRigetti ForestNVIDIA logocuQuantumGoogle logoTensorFlow Quantum

Logos and product names are trademarks of their respective owners. Their use identifies the SDKs SuperQuantX integrates with and does not imply endorsement. Sources are listed in the third-party notices.

ALGORITHMS

Each one reports its classical check

VQE (RealAmplitudes, EfficientSU2)
CLASSICAL CHECK
Exact ground energy, H2 STO-3G built in
QAOA for MaxCut
CLASSICAL CHECK
Brute-force optimum and approximation ratio
QuantumSVM (fidelity kernel)
CLASSICAL CHECK
Tuned RBF SVM and logistic regression via compare_to_classical
QuantumNN (parameter-shift gradients)
CLASSICAL CHECK
compare_to_classical works with any sklearn-style classifier
QuantumPortfolioAgent (CVaR-VQE)
CLASSICAL CHECK
Brute-force optimal selection and a Markowitz reference
QuantumClassificationAgent
CLASSICAL CHECK
compare_to_classical verdict and p-value
vqe_qaoa.py
import numpy as np
import superquantx as sqx
vqe = sqx.create_vqe_for_molecule("H2", backend="simulator")
print(vqe.find_ground_state(), vqe.exact_ground_energy())
# both about -1.857275 Ha
W = np.array([[0, 1, 1, 0, 1], [1, 0, 1, 1, 0], [1, 1, 0, 1, 0],
[0, 1, 1, 0, 1], [1, 0, 0, 1, 0]], dtype=float)
r = sqx.QAOA(backend="simulator", p=2, seed=7).solve(W)
print(r["cut_value"], r["classical_optimum"], r["approximation_ratio"])
portfolio_agent.py
import numpy as np
import superquantx as sqx
returns = np.random.default_rng(0).normal(0.01, 0.02, size=(250, 6))
res = sqx.QuantumPortfolioAgent(backend="simulator", n_select=3, seed=0).solve(returns)
print(res.result["selected_assets"], res.result["classical_selected_assets"],
res.result["matches_classical_optimum"])

BENCHMARK EVIDENCE

A quantum classifier, benchmarked against classical models

One example run, not a general result. The code and numbers come from the compare_to_classical example in the SDK README, reproduced with superquantx==0.3.0 on the built-in simulator: 100 samples, 2 features, 5-fold stratified cross validation with identical folds, seed 0. The tuned quantum kernel was not significantly different from a tuned RBF SVM (difference -0.020, p=0.54). Wall times are from that run and depend on the machine.

benchmark.py
import superquantx as sqx
from sklearn.datasets import make_moons
X, y = make_moons(n_samples=100, noise=0.2, random_state=0)
result = sqx.compare_to_classical(X, y, sqx.QuantumSVM(backend="simulator"), cv=5)
print(result.table())
compare_to_classical output on make_moons
ModelAccuracyWall timeGridQPU circuits
QuantumSVM (simulator), tuned0.930 ± 0.0511.16s25119,000
QuantumSVM (simulator), untuned0.670 ± 0.1250.13s1-
SVC (RBF), tuned C and gamma0.950 ± 0.0550.91s25-
Logistic regression, tuned C0.860 ± 0.0970.22s4-

Known limitations in 0.3.0: the tuned comparison fails when the quantum model uses feature_map="auto", and the inner-validation preprocessing in the tuned comparison is still under review. Treat these numbers as an illustration of the method. Benchmarking guide

COMMAND LINE

Check your install in one command

list-backends runs a real Bell-state check on every installed backend. benchmark compares a quantum kernel against tuned classical models.

superquantx · cli
$ uv add "superquantx==0.3.0"
$ uv run superquantx -v version # versions of installed backend SDKs
$ uv run superquantx list-backends # real Bell-state check per backend
$ uv run superquantx run qsvm --data iris -b simulator
# or run once without adding it to a project
$ uvx --from "superquantx[pennylane]==0.3.0" superquantx benchmark -d moons -b pennylane

MCP SERVER

Six tools for AI assistants

An optional MCP server speaks stdio, runs on local simulators by default and annotates every tool read-only. Start it with superquantx-mcp from your MCP client.

MCP setup
list_backends
Every backend with install status and a 2 qubit Bell smoke test.
backend_versions
Installed versions of SuperQuantX, Python, numerics and every quantum SDK.
run_circuit
Run OpenQASM 2, OpenQASM 3 or a JSON gate list. Returns counts, probabilities and timing.
bell_state_demo
The same Bell circuit on several backends, with correlated shot counts.
qsvm_classify
QuantumSVM on a toy or supplied dataset, with an RBF SVM baseline on the same split.
qaoa_maxcut
QAOA for MaxCut on a small graph, checked against exact brute force.

LIMITATIONS

Research software: current limits

Simulated circuits
Everything on this page runs on classically simulated quantum circuits.
No advantage claim
Nothing here demonstrates quantum advantage. The library is designed to say when a quantum model does not beat a classical one.
Hardware untested
IBM Quantum, Braket devices and Quantinuum H-Series paths are untested and need your own credentials. MCP hardware access is off by default.
Alpha
SDK 0.3.0 is alpha, experimental software. Check the issue tracker before relying on a result.

OPEN SOURCE · APACHE 2.0

SuperQuantX is open source. Build with us.

Install the release, read the code, open an issue or send a fix. Contributions are welcome.

superquantx · install
$ uv add "superquantx==0.3.0"
Python 3.11+ · PyPI · docs · no project? uv pip install "superquantx==0.3.0"

Want help applying SuperQuantX to a research question? Talk to us about an assisted pilot.