polypus 0.7.1

Rust-core quantum variational optimization framework with a Python (PyO3) interface: circuit simulation, VQC/QML training and population-based optimizers (DE, PSO, QNG). Python users: `pip install polypus-quantum` (the module imports as `polypus`).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// The VQC optimizers (DE, PSO, QNG) live in the pure-Rust `polypus-optimizers`
// crate. Re-export them so the `polypus::algorithms::*` and `polypus::*` paths keep
// resolving for existing consumers.
//
// Orchestration (`run_quantum_circuit`, training) is no longer a local
// `AlgorithmTrait`: it runs through the `polypus-orchestration` `Flow`/`Scheduler`
// at the `polypus` edge (`bindings`), so the former `AlgorithmSingleRun` /
// `DistributeByShotsRun` / `AlgorithmArgs` types are gone.
pub use polypus_optimizers::{
    AlgorithmDifferentialEvolution, AlgorithmDifferentialEvolutionArgs, AlgorithmPSO,
    AlgorithmPSOArgs, AlgorithmQNG, AlgorithmQNGArgs, EvaluationOracle, OptimizationOutcome,
    Optimizer, VarianceOracle,
};