Skip to content

Feature overview

QuOptuna combines quantum and classical machine learning under a single hyperparameter-optimization workflow built on Optuna and PennyLane. This page is a hub: a short description of each major capability with a link to the page that covers it in depth.

  • Guided wizard — a 6-step Next.js UI walks you from dataset to report. See Architecture for how the UI, server, and engine connect.
  • Headless CLI — drive the same pipeline for scripted, reproducible runs. See the CLI reference.
  • Python API — use the Optimizer engine directly in your own code. See How the optimization engine works.
  • Conditional search space — the objective suggests model_type first, then only that model’s relevant parameters, keeping the TPE model clean. See How the optimization engine works.
  • Samplers and pruners — tpe/random/grid samplers and asha/hyperband/none pruners, with early stopping for iterative quantum models. See How the optimization engine works.
  • Fairness-aware search — off, constrained (feasibility constraint on disparity), or multi-objective (F1 vs disparity Pareto front), using equal-opportunity, disparate-impact, and demographic-parity metrics on a sensitive feature. See How the optimization engine works.
  • Multiclass and One-vs-Rest — macro-F1 scoring with OvR-wrapped variational models for K-class problems. See How the optimization engine works.
  • Class-imbalance resampling — optional oversample/undersample of the inner training split (default none), with the sensitive column resampled in lockstep. See How the optimization engine works.
  • SHAP and XAI — SHAP plots, metrics, curves, confusion matrices and feature importance for the best (or any chosen) trial, run as a resumable, cancellable background job with revision history. See Analysis pipeline.
  • LLM reports — analyst + reviewer agents (OpenAI/Gemini/Anthropic providers) generate a written report grounded in a specific analysis revision. See Analysis pipeline.
  • Bulk research dumps — select runs on the Runs page and download one zip (POST /api/v1/analysis/bundles/bulk, 1–100 runs).
  • Bundled, UCI and CSV ingestion — load an uploaded CSV, a dataset bundled with the package (gzipped CSVs, available offline), or a UCI dataset; targets are labelled with a class-balance profile. See The workflow engine.
  • Persistence and crash rehydration — a SQLModel application database (SQLite by default, PostgreSQL supported) behind run_store, analysis_store and dataset_registry, plus Optuna studies as source of truth; stale runs are recovered on restart. See Architecture.
  • Optional Auth0 — cookie-session authentication that is a no-op when unconfigured, so local runs stay unauthenticated. See Architecture.
  • Single-port packaged deploy — uvx quoptuna serves the built UI and API from one uvicorn process. See Architecture.
  • Legacy Streamlit UI — a fallback dashboard kept for compatibility. See Legacy Streamlit UI.