Skip to content

v0.3.2b0

Choose a tag to compare

@Shiro-Raven Shiro-Raven released this 17 Nov 01:48

0.3.2b0 (2025-08-28)

✨ Added

  • Long description for PyPI package: added comprehensive package description to pyproject.toml for better PyPI presentation
  • QPU and QPUSystem dataclasses: new frozen dataclasses for representing Quantum Processing Units and QPU systems with parsing functionality from Qoro API JSON responses, including qpu_systems() method in QoroService to fetch available systems
  • MoleculeTransformer class: new utility class exported from _vqe_sweep module for molecular transformations
  • _raise_with_details() method in QoroService: improved error handling helper that provides detailed error information when circuit submission fails

🔄 Changed

  • Refactored QoroService class structure: moved QPU parsing logic to _parse_qpu_systems() function, added support for loading auth token from .env file via python-dotenv, improved constructor parameter handling, and integrated new QPU and QPUSystem dataclasses
  • Updated VQE class API: changed constructor to accept hamiltonian (Pennylane Operator) and molecule (Pennylane Molecule) objects instead of symbols, bond_length, and coordinate_structure parameters, with optional n_electrons parameter
  • Revamped VQEHyperparameterSweep class: improved molecular manipulation accuracy through z-matrices for more precise molecular geometry transformations
  • Replaced Qiskit expectation value calculation functions with Pennylane equivalents: updated codebase to use Pennylane's native expectation value calculation methods
  • Replaced all instances of Optional type hint with pipe operator (|): migrated codebase-wide from Optional[T] to T | None syntax for Python 3.10+ compatibility
  • Updated tutorial examples: modified all tutorial examples to use new VQE API with Molecule objects and Hamiltonian inputs, and corrected ZNE tutorial to work with updated codebase

🗑️ Removed

  • Deleted all MLAE (Maximum Likelihood Amplitude Estimation) functionality: removed _mlae.py module (182 lines) and MLAE class, along with mlae_example.py tutorial

🐛 Fixed

  • Fixed Qoro API tests: updated test expectations to match new API behavior and QASM validation integration