Skip to main content

Soft Algebra Optimizer for Quantum & Complex Optimization

Project description

Mobiu-Q v2.6

PyPI version License

Mobiu-Q wraps your existing optimizer with Soft Algebra to filter noise and improve convergence. Same API, better results.


🚀 What's New in v2.6

  • Comprehensive Validation: 30+ problems tested across 7 domains
  • Quantum Hardware: Validated on IBM FakeFez realistic noise models
  • Multi-Optimizer: Adam, NAdam, AMSGrad, SGD, Momentum, LAMB

🏆 Verified Benchmark Results

All benchmarks compare Optimizer + Soft Algebra vs Optimizer alone. Same learning rate, same seeds, fair A/B test.

🎮 Reinforcement Learning

Environment Improvement p-value Win Rate
LunarLander-v3 +129.7% <0.001 96.7%
MuJoCo InvertedPendulum +118.6% 0.001 100%
MuJoCo Hopper +41.2% 0.007 80%

📐 Classical Optimization

Function Improvement Description
Rosenbrock +75.8% Valley navigation
Beale +62.0% Plateau escape
Sphere +31.1% Convex baseline

⚛️ Quantum VQE - Condensed Matter

Model Improvement
SSH Model (Topological) +61.0%
XY Model +60.8%
Ferro Ising +45.1%
Transverse Ising +42.0%
Heisenberg XXZ +20.8%
Kitaev Chain +20.4%
Hubbard Dimer +14.1%

⚛️ Quantum VQE - Chemistry

Molecule Improvement
FakeFez H₂ +52.4% (p=0.043)
He Atom +51.2%
H₂ Molecule +46.6%
H₃⁺ Chain +42.0%
LiH Molecule +41.4%
BeH₂ Molecule +37.8%

🎯 QAOA (Combinatorial Optimization)

Problem Improvement Wins
FakeFez MaxCut +45.1% p=0.0003
Vertex Cover +31.9% 51/60
Max Independent Set +31.9% 51/60
MaxCut +21.5% 45/60

💰 Finance (QUBO)

Problem Improvement
Credit Risk +52.3%
Portfolio Optimization +51.7%

💊 Drug Discovery

Task Improvement Config
Binding Affinity +12.2% AMSGrad + standard

📦 Installation

pip install mobiu-q

⚡ Quick Start

# Simple - Auto gradient
opt = MobiuQCore(method="standard")
for step in range(100):
    params = opt.step(params, energy_fn)
opt.end()

# Advanced - Manual gradient (backward compatible)
opt = MobiuQCore(method="standard")
for step in range(100):
    grad = my_custom_gradient(params)
    params = opt.step(params, grad, energy_fn(params))
opt.end()

🔧 Configuration

📖 See CONFIGURATION_GUIDE.md for complete details

Methods

Method Best For LR
standard VQE, Chemistry, Finance 0.01
deep QAOA, Noisy Hardware 0.1
adaptive RL, High-variance 0.0003

Base Optimizers

Optimizer Best For
Adam Default, most cases
AdamW LLM, weight decay
SGD QAOA
AMSGrad Drug Discovery
NAdam Alternative to Adam
Momentum RL alternative
LAMB Large batch

Important: Optimizer names are case-sensitive!


🛠️ Troubleshooting

If optimization is not improving or diverging, try these adjustments:

1. Switch Base Optimizer

Different optimizers work better for different problems:

# If Adam isn't working, try:
opt = MobiuQCore(license_key="KEY", base_optimizer="NAdam")

# Or try Momentum:
opt = MobiuQCore(license_key="KEY", base_optimizer="Momentum")

2. Switch Method

If This Fails Try This
standard adaptive
adaptive deep
deep standard
# If standard isn't working:
opt = MobiuQCore(license_key="KEY", method="adaptive")

3. Switch Mode

For quantum problems, if simulation mode isn't working:

# Try hardware mode (more aggressive noise filtering):
opt = MobiuQCore(license_key="KEY", mode="hardware")

4. Adjust Learning Rate

Scenario Recommendation
Diverging Lower LR by 2-5x
No improvement Increase LR by 2x
QAOA Use LR=0.1
RL Use LR=0.0003

🔬 How It Works

Mobiu-Q is based on Soft Algebra (ε²=0):

(a, b) × (c, d) = (ad + bc, bd)

Evolution Law:

S_{t+1} = (γ · S_t) · Δ_t + Δ_t

💰 Pricing

Tier Price Runs
Free $0 20 runs/month
Pro $19/month Unlimited

Get your key at app.mobiu.ai


📊 Summary by Domain

Domain Best Result Avg Improvement
RL +129.7% ~96%
Classical Opt +75.8% ~56%
Condensed Matter +61.0% ~38%
Quantum Chemistry +52.4% ~45%
Finance +52.3% ~52%
QAOA +45.1% ~32%
Drug Discovery +12.2% +12%

🧑‍🔬 Scientific Foundation

  • Dr. Moshe Klein – Soft Logic and Soft Numbers
  • Prof. Oded Maimon – Tel Aviv University

📚 Links


© 2025 Mobiu Technologies. All rights reserved.

Project details


Release history Release notifications | RSS feed

This version

2.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mobiu_q-2.6.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mobiu_q-2.6-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file mobiu_q-2.6.tar.gz.

File metadata

  • Download URL: mobiu_q-2.6.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mobiu_q-2.6.tar.gz
Algorithm Hash digest
SHA256 e3cad4a5a2dbbf66e1c479d0f9c021aa1f8d00a07a944c025aecbb9a281f068a
MD5 60a4886d42ad0a15a05f1f1ed6740c39
BLAKE2b-256 a96bbe6416d1ae203279fd642c509abee4a72deb5cf794799ddbc45588dd581c

See more details on using hashes here.

File details

Details for the file mobiu_q-2.6-py3-none-any.whl.

File metadata

  • Download URL: mobiu_q-2.6-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mobiu_q-2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9ff5673419ec3229da5c25e61a059de7d676ce92fd7838f0f39cd5f45d58766c
MD5 aa998c969cbfbd75e19f48a01f28fe89
BLAKE2b-256 0d38e69881a7ee02d51eb068bdd1a8af409578d50dc0c1912ad6936c1cc16634

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page