Skip to content

v0.9.2 — 200+ Qubit Simulation (MPS + Sparse)

Latest

Choose a tag to compare

@enessari enessari released this 31 Mar 06:44

🚀 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-sdk

Full changelog: CHANGELOG.md