Matematiksel formülasyon, benchmark ve atıfMathematical formulation, benchmarks and citation
QuboForge'un her adımı yazılı bir denkleme karşılık gelir ve testler bu denklemleri sayısal olarak doğrular. dSB ve bSB klasik, kuantum-ilhamlı sezgisellerdir; QAOA aynı örnekler üzerinde karşılaştırılan kapı modeli karşılığıdır. Kuantum üstünlüğü iddiası yoktur.Every step of QuboForge corresponds to a written equation, and the tests check these equations numerically. dSB and bSB are classical, quantum-inspired heuristics; QAOA is the gate-model counterpart compared on the same instances. No quantum-advantage claim is made.
QUBO ↔ Ising
İkili değişkenler ve spinler arasındaki bağ ile iki model aynı enerji manzarasını tanımlar.With binary variables and spins linked by , both models describe the same energy landscape.
ile kesin dönüşüm:With the exact conversion is:
Ayrık ve balistik simüle edilmiş çatallanmaDiscrete and ballistic simulated bifurcation
Simüle edilmiş çatallanma (Goto ve ark., 2019 ve 2021), Kerr-parametrik osilatör ağının adyabatik çatallanmasını klasik olarak taklit eder. Pompa genliği 0'dan 'a çıkarken her osilatör iki kararlı dala ( veya ) çatallanır; dal işaretleri Ising spinleridir. Simplektik Euler adımı ve tam esnek olmayan duvarlar:Simulated bifurcation (Goto et al., 2019 and 2021) classically mimics the adiabatic bifurcation of a network of Kerr parametric oscillators. As the pump amplitude rises from 0 to , each oscillator bifurcates into one of two stable branches ( or ); the branch signs are the Ising spins. Symplectic Euler step with perfectly inelastic walls:
Python NumPy arka ucu M yörüngeyi bir (M, N) matrisi olarak tutar ve her adımda tek çarpım hesaplar. Ana sayfadaki faz uzayı önizlemesi (3) ve (4) denklemlerinin 3-düzenli Max-Cut üzerindeki doğrudan bir uygulamasıdır.The Python NumPy backend stores the M trajectories as an (M, N) matrix and computes one product per step. The phase-space preview on the home page is a direct implementation of equations (3) and (4) on 3-regular Max-Cut.
QAOA · OpenQASM 3.0
Aynı Ising modeli maliyet Hamiltonyenine çevrilir; her ZZ terimi cx; rz(2γw); cx, karıştırıcı rx(2β) olarak yazılır. 14 kübite kadar kesin durum vektörü kullanılır; bağımsız bir kapı seviyesi simülatörü üretilen OpenQASM metnini yeniden çalıştırır.The same Ising model becomes the cost Hamiltonian; each ZZ term is written as cx; rz(2γw); cx, the mixer as rx(2β). An exact statevector is used up to 14 qubits; an independent gate-level simulator re-executes the emitted OpenQASM text.
Kapı katlama ve Richardson ZNEGate folding and Richardson ZNE
Devre kesin bir yoğunluk matrisi üzerinde çalışır (JavaScript'te 8, saf Python'da 7 kübit). Her 1-kübit kapıdan sonra toplam hata olasılığı , her 2-kübit kapıdan sonra olan düzgün Pauli kanalı uygulanır:The circuit runs on an exact density matrix (8 qubits in JavaScript, 7 in pure Python). After each 1-qubit gate a uniform Pauli channel with total error probability is applied, after each 2-qubit gate one with :
Kapı katlama gürültüyü tek sayılı bir çarpanla ölçekler; Richardson ekstrapolasyonu bu ölçeklerdeki beklenen değerlerden sıfır gürültü tahminini çıkarır:Gate folding scales the noise by an odd factor; Richardson extrapolation recovers the zero-noise estimate from the expectation values at those scales:
Sonuçlar deterministiktir (atış gürültüsü yoktur). Okuma hatası katlamayla ölçeklenmez, bu yüzden ZNE onu gidermez. run_with_mitiq aynı deneyi mitiq.zne.execute_with_zne, RichardsonFactory ve fold_gates_at_random ile aynı kanalları taşıyan bir Cirq devresinde tekrarlar.Results are deterministic (no shot noise). Readout error is not scaled by folding, so ZNE does not remove it. run_with_mitiq repeats the experiment through mitiq.zne.execute_with_zne, RichardsonFactory and fold_gates_at_random on a Cirq circuit with the same channels.
Sanayi HamiltonyenleriIndustrial Hamiltonians
Kesim stoğu, desen havuzu üzerinde tam örtme QUBO'su olarak yazılır; , desen içindeki türü parça sayısı, taleptir:Cutting stock is written as an exact-cover QUBO over a pattern pool; is the number of type- parts in pattern , the demand:
Vardiya çizelgesi; çalışan , gün , vardiya ise; kapsama, günlük tek vardiya, dinlenme, adil iş yükü ve tercih terimleri:Shift roster; if employee works shift on day ; coverage, one shift per day, rest, fair workload and preference terms:
CVRP, 3B yükleme ve enerji arbitrajı Hamiltonyenleri ilgili çözüm sayfalarında ve README'de verilmiştir. Enerji modelindeki ikinci dereceden terim, parçalı doğrusal alış/satış maliyetinin dışbükey bir vekilidir; raporlanan her maliyet kesin maliyettir.The CVRP, 3D loading and energy arbitrage Hamiltonians are given on the solution pages and in the README. The quadratic term of the energy model is a convex surrogate of the piecewise-linear import/export cost; every reported cost is the exact cost.
Tekrarlanabilir benchmark metodolojisiReproducible benchmark methodology
- Tohumlu örnekler. Her rastgele rutin bir tohum alır; amaç değerleri her makinede aynıdır, yalnızca süreler değişir. Süreler birkaç koşunun medyanıdır.Seeded instances. Every stochastic routine takes a seed; objective values are identical on every machine, only times change. Times are medians of several runs.
- Aynı örnek, aynı tablo. Klasik referans (FFD, en yakın komşu, açgözlü çizelge, kural tabanlı batarya) ile QUBO yolları aynı girdide karşılaştırılır.Same instance, same table. Classical references (FFD, nearest neighbour, greedy roster, rule-based battery) and the QUBO paths are compared on the same input.
- Güvenlik ağı kapalı. "QUBO" satırları güvenlik ağı kapalıyken raporlanır; ürünün döndürdüğü nihai plan ayrı bir satırdır. Onarım veya yerel arama katkısı, aynı işlemin klasik plana uygulandığı referans satırla ayrıştırılır.Safeguard off. "QUBO" rows run with the safeguard disabled; the final plan returned by the product is a separate row. The contribution of repair or local search is isolated by a reference row that applies the same step to the classical plan.
- Bağımsız doğrulama. Her plan, çözücüden bağımsız bir doğrulayıcıdan geçer (çakışma, sınır, giyotin kesilebilirlik, kapasite, dinlenme, 3B kesişim, şarj durumu).Independent validation. Every plan passes a validator that is independent of the solver (overlap, bounds, guillotine cuttability, capacity, rest, 3D intersection, state of charge).
- Elle yazılmış sayı yok. Tablolar
benchmarks/run-benchmarks.mjstarafından ölçülen değerlerden üretilir.No hand-typed numbers. Tables are generated bybenchmarks/run-benchmarks.mjsfrom measured values.
| SenaryoScenario | ÖrnekInstance | ReferansReference | MetrikMetric |
|---|---|---|---|
| Max-Cut | G(n, 0.5), N = 60, 120 | SA, tabu, greedy | kesim, sürecut, time |
| QAOA vs dSB | 3-düzenli, N = 10, 123-regular, N = 10, 12 | kapsamlı aramaexhaustive search | oran, P(optimum)ratio, P(optimum) |
| Sac / MDF / cam kesimSheet / MDF / glass cutting | 68, 74, 51 parça68, 74, 51 parts | FFD shelf | plaka, firesheets, waste |
| CVRP | 24 teslimat, 4 araç24 deliveries, 4 vehicles | NN, NN + 2-opt | mesafedistance |
| VardiyaRoster | 14 kişi, 7 gün, 3 vardiya14 staff, 7 days, 3 shifts | açgözlü + onarımgreedy + repair | açık vardiya, ihlalopen slots, violations |
| 3B yükleme3D loading | 70 koli, 20 ft70 boxes, 20 ft | hacim FFDvolume FFD | konteyner, kesişimcontainers, intersections |
| EnerjiEnergy | 400 kWp GES, 400 kWh batarya, 6 parti400 kWp PV, 400 kWh battery, 6 batches | kural tabanlırule-based | günlük maliyetdaily cost |
| ZNE | 6 kübit, p = 16 qubits, p = 1 | gürültüsüz idealnoise-free ideal | mutlak hataabsolute error |
npm test # 90+ node:test cases
python -m unittest discover -s python/tests # Python suite
npm run bench # writes benchmarks/results.json
python python/benchmarks_py.py # pure vs NumPy kernels
Ana sayfadaki altı kart aynı results.json dosyasını okur. Ölçülen değerler ve bütün satırlar Canlı Stüdyo'nun "Hibe ve Benchmark" sekmesindedir.The six cards on the home page read the same results.json. Measured values and every row are in the "Grant and Benchmarks" tab of the Live Studio. Tabloları açOpen the tables
AtıfCitation
QuboForge'u araştırmanızda kullanırsanız lütfen aşağıdaki meta veriyle atıf yapın. Depodaki CITATION.cff ve .zenodo.json aynı bilgiyi taşır.If you use QuboForge in research, please cite it with the metadata below. CITATION.cff and .zenodo.json in the repository carry the same information.
@software{quboforge_2026,
author = {{o2io}},
title = {{QuboForge}: quantum-inspired {QUBO}/{Ising} optimisation with an {OpenQASM} 3.0 {QAOA} bridge, zero-noise extrapolation and industrial compilers},
year = {2026},
month = dec,
version = {5.1.0},
license = {Apache-2.0},
url = {https://quboforge.com/},
keywords = {qubo, ising, simulated bifurcation, qaoa, openqasm 3, zero-noise extrapolation}
}
cff-version: 1.2.0
message: "If you use QuboForge in research, please cite it with the metadata below."
title: "QuboForge: quantum-inspired QUBO/Ising optimisation with an OpenQASM 3.0 QAOA bridge, zero-noise extrapolation and industrial compilers"
type: software
version: 5.1.0
date-released: 2026-12-02
license: Apache-2.0
authors:
- name: "o2io"
url: "https://quboforge.com/"
keywords:
- qubo
- ising
- simulated bifurcation
- qaoa
- openqasm 3
- zero-noise extrapolation
- cutting stock
- vehicle routing
- rostering
- bin packing
- energy arbitrage
KaynaklarReferences
- H. Goto, K. Tatsumura, A. R. Dixon, "Combinatorial optimization by simulating adiabatic bifurcations in nonlinear Hamiltonian systems", Science Advances 5, eaav2372 (2019).
- H. Goto, K. Endo, M. Suzuki, Y. Sakai, T. Kanao, Y. Hamakawa, R. Hidaka, M. Yamasaki, K. Tatsumura, "High-performance combinatorial optimization based on classical mechanics", Science Advances 7, eabe7953 (2021).
- E. Farhi, J. Goldstone, S. Gutmann, "A Quantum Approximate Optimization Algorithm", arXiv:1411.4028 (2014).
- L. Zhou, S.-T. Wang, S. Choi, H. Pichler, M. D. Lukin, "Quantum Approximate Optimization Algorithm: Performance, Mechanism, and Implementation on Near-Term Devices", Physical Review X 10, 021067 (2020).
- T. Giurgica-Tiron, Y. Hindy, R. LaRose, A. Mari, W. J. Zeng, "Digital zero noise extrapolation for quantum error mitigation", IEEE QCE (2020).
- R. LaRose et al., "Mitiq: A software package for error mitigation on noisy quantum computers", Quantum 6, 774 (2022).
- A. Cross et al., "OpenQASM 3: A Broader and Deeper Quantum Assembly Language", ACM Transactions on Quantum Computing 3 (2022).
- A. Lucas, "Ising formulations of many NP problems", Frontiers in Physics 2 (2014).
- J. Jylänki, "A Thousand Ways to Pack the Bin" (2010).
- T. G. Crainic, G. Perboli, R. Tadei, "Extreme point-based heuristics for three-dimensional bin packing", INFORMS Journal on Computing 20 (2008).
Apache-2.0 açık bilim yol haritasıApache-2.0 open-science roadmap
Yayınlanan sürüm ile planlanan işler ayrı tutulur; planlanan maddeler taahhüt değil, öncelik sırasıdır.The released version and planned work are kept apart; planned items are a priority order, not a commitment.
dSB/bSB (NumPy toplu çekirdek), OpenQASM 3.0 QAOA, yoğunluk matrisi gürültüsü ve Richardson ZNE, IBM Heron r2 kuru çalıştırma, beş sanayi derleyicisi, varsayılan olarak gerçek karayolu (OSRM / Google canlı trafik) üzerinde filo rotalama, file:// ile çalışan stüdyo, bu web platformu.dSB/bSB (NumPy batch kernel), OpenQASM 3.0 QAOA, density-matrix noise and Richardson ZNE, IBM Heron r2 dry run, five industrial compilers, fleet routing on real roads (OSRM / Google live traffic) by default, a studio that runs from file://, this web platform.
Zenodo DOI ile arşivleme, Gset ve QPLIB üzerinde genişletilmiş benchmark paketi, gerçek Heron r2 koşularının kalibrasyon verisiyle yayımlanması.Archiving with a Zenodo DOI, an extended benchmark suite on Gset and QPLIB, publishing real Heron r2 runs together with calibration data.
Tarayıcıda WebGPU dSB çekirdeği, kesim ve rota için ERP/MES bağlayıcı şablonları, çok amaçlı (fire ve süre) QUBO ağırlıklandırması.A WebGPU dSB kernel in the browser, ERP/MES connector templates for cutting and routing, multi-objective (waste and time) QUBO weighting.