🚀 Quanta SDK v0.9.2
Highlights
- 200+ qubit simulation via new MPS (tensor network) simulator
- Sparse statevector for 40-50 qubit circuits with O(k) memory
- SimulatorBackend ABC — clean architecture for all 6 backends
- Circuit-aware router — automatic simulator selection
- Security hardening — exec() sandbox, eval() elimination, traceback fix
- L3 decoupling — all 10 algorithms use factory pattern
New Simulator Backends
| Simulator | Max Qubits | Memory | Best For |
|---|---|---|---|
| Dense | 27 | O(2ⁿ) | Full accuracy |
| Sparse (NEW) | 50 | O(k) | GHZ, oracle, product |
| MPS (NEW) | 200+ | O(n·χ²) | QAOA, VQE, 1D circuits |
| Clifford | 1000+ | O(n²) | Stabilizer circuits |
Quality
- 820 tests pass (up from 774)
- 0 ruff lint errors
- 91% code coverage
- Cross-validated: all new simulators verified against dense simulator
Security (from v0.9.1)
exec()sandboxed with_SAFE_BUILTINS+_validate_code()eval()eliminated — pure AST walker in QASM import- All MCP error responses sanitized (no traceback leaks)
Install
pip install --upgrade quanta-sdkFull changelog: CHANGELOG.md