Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Glossary

Model training cost

Model training cost is the total work required to fit a learning or variational model. For quantum models it includes repeated circuits, measurements, gradient estimates, parameter search and classical processing.

Edition released Entry updated Coverage: Overview
On this page

Plain-language explanation

A small prediction circuit can require substantial effort to train. Each parameter update may need many measurements, and hyperparameter selection can repeat the entire process. Costs can include device access, queue delays, classical compute and rejected runs. A fair comparison should state whether it measures training, inference or both, and use an appropriate quality target.

This turns a vague claim of fast quantum learning into an accountable workflow. It also explains why fewer qubits or circuit layers do not necessarily mean a cheaper model.

Example

A model might evaluate one input quickly after its parameters are fixed, yet require thousands of noisy objective estimates to reach those parameters. If another model trains more cheaply and predicts equally well, comparing only the final inference step misses the practical tradeoff.

Scope and limits

There is no single universal cost metric. Runtime, monetary cost, energy and access requirements may matter differently, so claims should identify the metric instead of mixing them.

Inference cost is a related idea. Inference cost measures using a fitted model on new inputs. Training cost measures obtaining the fitted model; a useful application may need to account for repeated retraining as data changes.

Sources

  • PennyLane / Xanadu · Documentation · docs.pennylane.ai
    Verification scope

    Recorded source check ·

    Differentiation and training interfaces

    Conceptual reference; versions and supported capabilities must be checked before implementation

  • Jarrod R. McClean et al. · · Research paper · Publication status unspecified · arXiv · DOI 10.1038/s41467-018-07090-4
    Verification scope

    Selected source text checked ·

    Formal or reference-semantic source anchor only; no SDK execution, hardware run, or empirical advantage is asserted. Original worked examples are independent mathematical constructions.

  • Huang and colleagues · Reference · nature.com
    Verification scope

    Recorded source check ·

    Role of data and classical comparisons

    Results depend on learning task and data access