Açık bilimOpen science

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 xi∈{0,1} ve spinler si∈{−1,+1} arasındaki bağ xi=(1+si)/2 ile iki model aynı enerji manzarasını tanımlar.With binary variables xi∈{0,1} and spins si∈{−1,+1} linked by xi=(1+si)/2, both models describe the same energy landscape.

HQUBO(x)=x⊤Qx+c↔HIsing(s)=−12s⊤Js−h⊤s+offset
(1)qubo_ising.mjs · quboToIsing / isingToQubo

S=(Q+Q⊤)/2 ile kesin dönüşüm:With S=(Q+Q⊤)/2 the exact conversion is:

Jij=−Sij2(i≠j),hi=−12∑jSij,offset=c+14∑ijSij+14∑iSii
(2)testler: |EQUBO − EIsing| < 10−9tests: |EQUBO − EIsing| < 10−9

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 a(t) 0'dan a0'a çıkarken her osilatör iki kararlı dala (x<0 veya x>0) ç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 a(t) rises from 0 to a0, each oscillator bifurcates into one of two stable branches (x<0 or x>0); the branch signs are the Ising spins. Symplectic Euler step with perfectly inelastic walls:

yi←yi+[−(a0−a(t))xi+c0(fi(x)+hi)]Δt,xi←xi+a0yiΔt
(3)sb.mjs · simulatedBifurcation
|xi|>1⇒xi=sgn(xi),yi=0bSB:fi=∑jJijxjdSB:fi=∑jJijsgn(xj)
(4)dSB alanı ayrıklaştırarak analog hatayı bastırırdSB discretises the field to suppress analog error
c0=0.5a0NσJ,c0≤0.6(4/(a0Δt2)−a0)ρ(J)
(5)ceza ağırlıklı QUBO'lar için doğrusal kararlılık sınırılinear stability cap for penalty-heavy QUBOs

Python NumPy arka ucu M yörüngeyi bir (M, N) matrisi X olarak tutar ve her adımda tek çarpım F=sgn(X)J⊤+h 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 X and computes one product F=sgn(X)J⊤+h 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.

HC=∑i<j(−Jij)ZiZj+∑ihiZi,|γ,β⟩=∏k=1pe−iβkHMe−iγkHC|+⟩⊗N
(6)quantum_bridge.mjs · qaoaQasm3 / optimizeQaoa

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ığı p1, her 2-kübit kapıdan sonra p2 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 p1 is applied, after each 2-qubit gate one with p2:

ρ→(1−4p13)ρ+4p13Trq(ρ)⊗I2,ρ→(1−16p215)ρ+16p215Trab(ρ)⊗I4
(7)noise_mitigation.mjs · depolarize1 / depolarize2

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:

G→G(G†G)k,λ=2k+1E(0)=∑kE(λk)∏j≠kλjλj−λk
(8)λ ∈ {1, 3, 5} · richardsonExtrapolate · Mitiq RichardsonFactory

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; Akp, desen p içindeki k türü parça sayısı, dk taleptir:Cutting stock is written as an exact-cover QUBO over a pattern pool; Akp is the number of type-k parts in pattern p, dk the demand:

H=α∑pxp+λ∑k(∑pAkpxp−dk)2
(9)cutting_stock.mjs

Vardiya çizelgesi; xeds=1 çalışan e, gün d, vardiya s ise; kapsama, günlük tek vardiya, dinlenme, adil iş yükü ve tercih terimleri:Shift roster; xeds=1 if employee e works shift s on day d; coverage, one shift per day, rest, fair workload and preference terms:

H=A∑d,s(∑exeds−rds)2+B∑e,d,s<s′xedsxeds′+C∑forbiddenxedsxe(d+1)s′+W∑e(∑d,sxeds−T)2
(10)shift_rostering.mjs

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.mjs tarafından ölçülen değerlerden üretilir.No hand-typed numbers. Tables are generated by benchmarks/run-benchmarks.mjs from measured values.
SenaryoScenarioÖrnekInstanceReferansReferenceMetrikMetric
Max-CutG(n, 0.5), N = 60, 120SA, tabu, greedykesim, sürecut, time
QAOA vs dSB3-düzenli, N = 10, 123-regular, N = 10, 12kapsamlı aramaexhaustive searchoran, P(optimum)ratio, P(optimum)
Sac / MDF / cam kesimSheet / MDF / glass cutting68, 74, 51 parça68, 74, 51 partsFFD shelfplaka, firesheets, waste
CVRP24 teslimat, 4 araç24 deliveries, 4 vehiclesNN, NN + 2-optmesafedistance
VardiyaRoster14 kişi, 7 gün, 3 vardiya14 staff, 7 days, 3 shiftsaçgözlü + onarımgreedy + repairaçık vardiya, ihlalopen slots, violations
3B yükleme3D loading70 koli, 20 ft70 boxes, 20 fthacim FFDvolume FFDkonteyner, kesişimcontainers, intersections
EnerjiEnergy400 kWp GES, 400 kWh batarya, 6 parti400 kWp PV, 400 kWh battery, 6 batcheskural tabanlırule-basedgünlük maliyetdaily cost
ZNE6 kübit, p = 16 qubits, p = 1gürültüsüz idealnoise-free idealmutlak hataabsolute error
yeniden üretreproduce
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}
}

KaynaklarReferences

  1. H. Goto, K. Tatsumura, A. R. Dixon, "Combinatorial optimization by simulating adiabatic bifurcations in nonlinear Hamiltonian systems", Science Advances 5, eaav2372 (2019).
  2. 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).
  3. E. Farhi, J. Goldstone, S. Gutmann, "A Quantum Approximate Optimization Algorithm", arXiv:1411.4028 (2014).
  4. 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).
  5. T. Giurgica-Tiron, Y. Hindy, R. LaRose, A. Mari, W. J. Zeng, "Digital zero noise extrapolation for quantum error mitigation", IEEE QCE (2020).
  6. R. LaRose et al., "Mitiq: A software package for error mitigation on noisy quantum computers", Quantum 6, 774 (2022).
  7. A. Cross et al., "OpenQASM 3: A Broader and Deeper Quantum Assembly Language", ACM Transactions on Quantum Computing 3 (2022).
  8. A. Lucas, "Ising formulations of many NP problems", Frontiers in Physics 2 (2014).
  9. J. Jylänki, "A Thousand Ways to Pack the Bin" (2010).
  10. 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.

v5.1.0 · 2026-12 · yayındareleased

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.

v0.5 · planplanned

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.

v0.6 · planplanned

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.