Soft Algebra Optimizer for Quantum & Complex Optimization
Project description
Mobiu-Q
Soft Algebra Optimizer for Quantum Computing
Mobiu-Q achieves +62% on VQE and +20% on QAOA compared to Adam optimizer, using a novel Soft Algebra approach that's resilient to quantum noise.
Installation
pip install mobiu-q
Quick Start
VQE (Molecular Simulation)
from mobiu_q import MobiuQCore, Demeasurement
# Initialize optimizer for VQE
opt = MobiuQCore(
license_key="your-license-key",
mode="standard", # or "noisy" for hardware
problem="vqe" # default
)
# Optimization loop
for step in range(100):
energy = compute_energy(params)
gradient = Demeasurement.finite_difference(energy_fn, params)
params = opt.step(params, gradient, energy)
opt.end()
QAOA (Combinatorial Optimization)
from mobiu_q import MobiuQCore, Demeasurement
# Initialize optimizer for QAOA
opt = MobiuQCore(
license_key="your-license-key",
mode="noisy", # QAOA typically uses SPSA
problem="qaoa" # Use Super-Equation Δ†
)
# Optimization loop
for step in range(150):
energy = qaoa_expectation(params)
gradient = spsa_gradient(energy_fn, params)
params = opt.step(params, gradient, energy)
opt.end()
Benchmarks
VQE (Quantum Chemistry)
| Molecule | Improvement vs Adam | p-value |
|---|---|---|
| H₂ | +62% | < 10⁻⁵⁷ |
| LiH | +50.6% | < 10⁻¹² |
| HeH⁺ | +68% | < 10⁻⁴⁰ |
QAOA (Combinatorial, noise=10%)
| Problem | Depth | Improvement | p-value |
|---|---|---|---|
| MaxCut | p=5 | +38.49% | < 0.001 |
| Vertex Cover | p=5 | +35.77% | 0.011 |
| Max Independent Set | p=5 | +30.62% | < 0.001 |
Hardware Validation
Tested on IBM Quantum Eagle (127-qubit):
- Adam: Crashed to -1.681 Ha (non-physical)
- Mobiu-Q: Converged to -1.176 Ha (99.6% accuracy)
Parameters
| Parameter | Values | Description |
|---|---|---|
mode |
"standard", "noisy" |
Gradient type |
problem |
"vqe", "qaoa" |
Problem type |
base_lr |
float | Base learning rate (auto-set by mode) |
How It Works
VQE: Trust Ratio
For smooth energy landscapes (molecular chemistry), Mobiu-Q uses the Trust Ratio:
φ = |S.real| / (|S.real| + |S.soft| + ε)
High trust = stable gradient = larger learning rate.
QAOA: Super-Equation Δ†
For rugged combinatorial landscapes, Mobiu-Q uses the Super-Equation from Universal Attention Field Theory:
Δ† = κ · Du[sin(πS)] · g(τ,α) · Γ(a,β) · √(b·g(τ,α))
This identifies optimal "emergence points" where the optimization should act aggressively.
Pricing
- Free: 20 runs/month
- Pro: $19/month unlimited
Get your license at app.mobiu.ai
License
Proprietary. See LICENSE for details.
Citation
@software{mobiu_q,
author = {Angel, Ido},
title = {Mobiu-Q: Soft Algebra Optimizer for Quantum Computing},
year = {2025},
url = {https://github.com/mobiuai/mobiu-q}
}
References
- Klein, M. & Maimon, O. "Foundations of Soft Logic" (2023)
- Angel, I. "Universal Attention Field Theory" (2025)
Made with ❤️ by Mobiu Technologies
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mobiu_q-1.3.0.tar.gz.
File metadata
- Download URL: mobiu_q-1.3.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72475c10bf770e25a202fdff50c9df50a3eb2707e9ca43671c91394d946d745d
|
|
| MD5 |
343eaa4fdf87d88cf515518dd3ad828c
|
|
| BLAKE2b-256 |
6ffea8373fd96e6b32aa2def6a61c420e2f48bde54b25a1cd0cc541eebb057f5
|
File details
Details for the file mobiu_q-1.3.0-py3-none-any.whl.
File metadata
- Download URL: mobiu_q-1.3.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76d163d307462d8af4b4decb38fa4b2c7ae7d46352f64e1bd5d9b99ce9ab1754
|
|
| MD5 |
14d02af8ef03ac4c061ba0c867d86f84
|
|
| BLAKE2b-256 |
4ce48749d8463678a44f23135e11b0259f058da6c3175f24658f17e9e357f082
|