
Parameterized quantum circuits that learn from data, and the hybrid variant that wraps them in classical layers to train reliably on today's hardware: transparent, reproducible, and benchmarked on Superpositions Studio.
A Quantum Neural Network (QNN) is a machine-learning model built from a parameterized quantum circuit. Classical data is embedded into a quantum state through an encoding step (angle or amplitude encoding, optionally with data reuploading); a set of trainable gates with parameters θ transforms that state; and a measurement of the resulting observables produces the outputs a classical optimizer uses to minimize a loss and update θ. A Hybrid Quantum Neural Network (HQNN) keeps that same quantum layer at its core but wraps it in classical neural-network layers — an MLP, RNN, or CNN block — that handle input preprocessing and output shaping. The quantum layer only has to do what circuits do well; the classical layers absorb the rest. QNNs are considered highly expressive because a circuit on relatively few qubits can, in principle, represent complex functions; their main practical bottleneck is noise, since deeper circuits and more qubits can drive gradients toward a noise-induced barren plateau — a limitation that recedes as hardware fidelity improves.
Both architectures explore whether quantum circuits can learn useful representations, especially for small or structured datasets. The hybrid split matters in practice: shallow quantum layers are what today's noisy hardware can run reliably, so wrapping one in classical layers is usually what turns a simulator-only exercise into a model that trains and runs on real qubits. Industry surveys treat both as an R&D tool today — a way to benchmark quantum hardware and algorithms ahead of the more powerful, error-corrected processors expected in the late 2020s and 2030s.
Use a pure QNN when the model needs to stay quantum end-to-end — researching quantum-native feature maps and kernels, or benchmarking a device's raw learning capacity on a small, self-contained problem. Use HQNN when the goal is a working system: classical layers carry most of the representation learning, the quantum layer contributes one narrow, well-defined transformation, and the combination trains end-to-end with standard deep-learning tooling. The trade-off is engineering cost, not accuracy alone: a pure QNN is simpler to reason about in isolation, while an HQNN adds the surface area of a full deep-learning stack around a small quantum component. All three production case studies below — predictive maintenance, hydraulic system monitoring, and wind energy forecasting — use the hybrid form for exactly this reason.
A six-step process to build and train quantum and hybrid quantum-classical neural networks
Map classical inputs onto the circuit with angle or amplitude encoding, optionally with data reuploading for extra expressivity.
Build the trainable gate sequence (PQC) that transforms the encoded state — the core layer shared by QNN and HQNN alike.
Run the circuit on its own for an end-to-end quantum model, or embed it as a layer inside a classical backbone (CNN, MLP, or LSTM) that handles the surrounding feature extraction and output shaping — the hybrid split most current hardware needs to train reliably.
Compute a loss (cross-entropy for classification, MSE for regression) from the circuit's measured observables, combined with the classical layers' outputs when hybrid.
Train with parameter-shift or SPSA for the quantum parameters, passed through backprop alongside the classical layers' gradients.
Test generalization, and ablate the quantum layer — swap it for a classical block of matching size — to confirm it is actually contributing before shipping.
Where QNNs and HQNNs provide practical solutions for quantum machine learning and classification tasks, and where a different quantum approach fits better
Binary equipment-failure classification on ~10,000 sensor records — temperatures, rotational speed, torque, and tool wear — using a hybrid linear model wrapping a trainable quantum layer.
Predictive maintenance case study →Multi-class condition monitoring across 2,205 sixty-second sensor cycles from a hydraulic test rig, using a hybrid LSTM + quantum-layer model over hundreds of pressure, flow, and temperature channels.
Hydraulic monitoring case study →Wind-energy production forecasting over 26,000+ CAISO/NREL time steps combines meteorological variables and calendar features with an angle-encoded quantum layer.
Related: volatility forecasting with quantum reservoir computing →Small/medium datasets with nonlinear decision boundaries, anomaly-detection prototypes on spectra and time series, and research on quantum-enhanced feature maps and kernels.
Not every quantum ML workload needs a trained model — transaction-level fraud detection is often a better fit for Grover-based search than for a QNN, since a fixed decision rule needs no training data at all.
Related: fraud detection with Grover's algorithm →Compare against classical baselines — logistic regression, SVM, MLP, or a classical-only backbone with the quantum layer removed — and report deltas in accuracy, calibration, robustness, and compute cost. Seed-controlled pipelines and saved checkpoints keep both QNN and HQNN runs reproducible, and the same ablation habit (swap the quantum layer for a classical block) doubles as the fastest way to tell whether it earned its place in the architecture.
Real experimental results demonstrating QNN and HQNN performance, from a pedagogical toy problem to three production HQNN implementations
The HQNN algorithm ships in three production forms: a hybrid linear model for predictive maintenance, a hybrid LSTM plus linear model for hydraulic system condition monitoring, and a hybrid model for wind energy forecasting. Each is shown below alongside a smaller, pedagogical pure-QNN example on synthetic data, to make the QNN/HQNN contrast concrete.
Common questions about QNN and HQNN implementation and performance
A QNN is a machine-learning model built from a parameterized quantum circuit: classical data is encoded into a quantum state, trainable gates transform it, and a measurement of the resulting observables produces the output a classical optimizer uses to update the parameters and minimize a loss. The same circuit is also considered highly expressive: relatively few qubits can, in principle, represent complex functions.
An HQNN wraps that same quantum layer inside classical neural-network layers — an MLP, RNN, or CNN block — that handle input preprocessing and output shaping. The quantum circuit only has to do what circuits do well; the classical layers absorb the rest, which is why hybrid models are what typically runs on today's hardware.
A classical neural network learns entirely with classical weights and activations. A QNN replaces, or in the hybrid form augments, some of those layers with a parameterized quantum circuit whose expressivity comes from superposition and entanglement rather than added neurons. Neither is proven to beat the other in general: in practice, most published QNN results roughly match rather than outperform a well-tuned classical baseline, and the benefit is task-dependent.
Use HQNN when you need a model that trains reliably on today's noisy hardware: classical layers carry most of the representation learning, and the quantum layer contributes one narrow transformation. All three production case studies on this page — predictive maintenance, hydraulic monitoring, and wind forecasting — use the hybrid form for that reason. Use a pure QNN for research on quantum-native feature maps or when benchmarking a device's raw learning capacity.
Yes, for shallow circuits and modest batch sizes. Today's devices support shallow QNNs on tens to a few hundred noisy qubits, which caps model size more than it caps whether training works at all. The usual flow is to prototype and validate on a simulator first, then evaluate on NISQ hardware with error mitigation.
Use shallow, problem-inspired circuits and local cost functions, initialize near identity, and train layer-wise. As hardware fidelity improves, the onset of the noise-induced plateau pushes to larger qubit counts, so the same design also scales better on future devices.
Algorithms, applied use cases and benchmarks connected to this page
Manufacturing
Predictive maintenance and hydraulic condition monitoring with HQNN, real accuracy vs. classical baselines, and executable code.
Energy
Forecast short-term wind power with a Hybrid Quantum Neural Network, CAISO/NREL weather data, and a benchmarked classical MLP comparison.
Finance
Forecast one-step-ahead S&P 500 realized volatility with Quantum Reservoir Computing, market and macro features, and Ridge, RC, and LSTM benchmarks.
Comparisons
Compare hybrid quantum neural networks with classical MLP and CNN baselines on parameters, training time, and accuracy across three benchmarked use cases.
Algorithms
Fixed quantum reservoir plus a trained linear read-out for time-series forecasting, benchmarked against Ridge, ESN, and LSTM on real S&P 500 volatility data.
Finance
Detect financial fraud with a QNN and Grover search pipeline, with reproducible benchmarks, classical baselines, and downloadable reports.
Run QNN and HQNN on Superpositions Studio: design circuits, plug quantum layers into your DL models, and export reproducible experiments.
Powered by Superpositions Studio: transparent, reproducible quantum computing