Skip to main content

Soft Algebra Optimizer for Quantum & Complex Optimization

Project description

Mobiu-Q (v2.1)

Universal Physics-Aware Optimizer for Stochastic Systems

PyPI version Win Rate License

Mobiu-Q is the first optimizer based on Soft Algebra. By mathematically decomposing gradients into Potential ($a_t$) and Realization ($b_t$), it filters out noise in real-time.

Originally designed for Quantum Computing, Mobiu-Q v2.0 is now validated for FinTech Risk Modeling, Reinforcement Learning, and Complex Engineering problems.


🚀 The Core Innovation: "Noise Hallucination" Prevention

Standard optimizers (Adam, SGD) assume that lower objective values always indicate better solutions. In noisy environments—like NISQ processors or stochastic financial markets—this fails. Optimizers "tunnel" into noise, creating Noise Hallucinations (non-physical solutions).

The Solution: Mobiu-Q utilizes a cross-coupled state evolution law:

S_{t+1} = (\gamma \cdot S_t) \cdot \Delta_t + \Delta_t

This ensures that a parameter update is only committed if the Potential Field () is validated by a Realized Improvement ().


🏆 Universal Benchmarks (v2.0)

Validated across 24 distinct problem domains with 1,000+ random seeds.

Domain Problem Improvement (vs Adam) Significance
💰 Finance Credit Risk (VaR) +52.3% Superior stability in high-volatility noise
💰 Finance Portfolio Opt +51.7% Better Sharpe ratio convergence
🤖 AI / RL LunarLander +129.7% 96% Win rate vs Adam's crashing
📐 Classical Rosenbrock Valley +75.8% Navigates narrow, curved valleys
⚛️ Quantum H2 Molecule +49.1% Chemical accuracy in noisy simulations
🌀 Topology SSH Model +61.0% Identifies topological phases
🕸️ Graph MaxCut (QAOA) +21.5% Escapes local minima via

Hardware Verification (IBM Fez)

Tested on IBM's 127-qubit Fez processor:

  • Adam: Diverged to -1.68 Ha (Noise Hallucination).
  • Mobiu-Q: Stabilized exactly at the physical ground state (-1.176 Ha).

📦 Installation

pip install mobiu-q

⚡ Quick Start

1. Universal Stochastic Optimization (Finance / AI)

For noisy classical problems (Credit Risk, RL, Engineering).

from mobiu_q import MobiuQCore, Demeasurement

# Initialize Cloud Optimizer
opt = MobiuQCore(
    license_key="YOUR-KEY", 
    problem="vqe"  # 'vqe' logic (Chemistry/Finance)
)

# Optimization Loop
for step in range(100):
    # 1. Calculate Gradient (Local)
    grad = Demeasurement.finite_difference(energy_fn, params)
    
    # 2. Step with Cloud Brain
    # Note: Pass energy for curvature analysis
    params = opt.step(params, grad, energy_fn(params))

# End Session
opt.end()

2. Rugged Landscapes (Combinatorial / QAOA)

For problems with many local minima (MaxCut, Rastrigin, Ackley).

opt = MobiuQCore(
    license_key="YOUR-KEY",
    problem="qaoa",  # Activates Super-Equation logic
    mode="noisy"     # Handles hardware noise
)

for step in range(150):
    # SPSA is efficient for QAOA (2 evals only)
    grad, energy = Demeasurement.spsa(energy_fn, params)
    params = opt.step(params, grad, energy)

opt.end()

3. Multi-Seed Experiments

To run multiple seeds as a single billing session:

opt = MobiuQCore(license_key="YOUR-KEY")

for seed in range(10):
    opt.new_run()  # Resets state, keeps session open
    params = init_params(seed)
    # ... optimization loop ...

opt.end() # Counts as 1 run

🔑 Pricing

  • Free Tier: For students & testing (Limited runs).
  • Pro Tier: Unlimited runs, Priority Processing, FinTech/AI models.

Get your License Key


Proprietary technology. All rights reserved by Mobiu Technologies.

Project details


Release history Release notifications | RSS feed

This version

2.1

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.1.tar.gz (16.7 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.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mobiu_q-2.1.tar.gz
  • Upload date:
  • Size: 16.7 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.1.tar.gz
Algorithm Hash digest
SHA256 55b919c42a695d99c5a1a86ecd079826dd76ecd7c8de857326a0e7a3c23734c8
MD5 a28ad684c10757128c79f9fc6b29dc28
BLAKE2b-256 11fd013b162456eed9f1e427dc57947f87a0f302518b1ddab27ebb828cef2af0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mobiu_q-2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae6563353bcdea6bc9d57b9d4a927697484322cccc193895189edff6621ad23f
MD5 c871597b4a3b42d93043b20c59b3cd6b
BLAKE2b-256 e745c432bc86d6a7de769e38723a9e318c8ebe1929d13b0a09af2751d9ccea6e

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