Misconceptions/Quantum ML/Data encoding in QML
IntermediateQuantum ML7 min

The myth

Data encoding into qubits is straightforward

01

Why people believe this

Classical data is just numbers. Qubits store numbers. Feeding data into a quantum circuit should be as simple as setting qubit values.

02

The correction

Data encoding is one of the most critical and underappreciated bottlenecks in QML. There is no single correct encoding — amplitude encoding, angle encoding, basis encoding, and IQP-style encoding each make different trade-offs between expressiveness, circuit depth, and the number of qubits required. Amplitude encoding can store 2^n values in n qubits but requires O(2^n) gates to prepare. Angle encoding uses fewer gates but wastes the exponential state space. The choice of encoding fundamentally shapes what the model can learn and whether any quantum advantage is possible.

03

Simulator note

Data encoding requires parameterized circuits with real dataset inputs — beyond what a browser simulator can demonstrate fairly. See the Schuld and Petruccione (2021) reference for a rigorous treatment.

03

Research notes

Tags

#encoding#amplitude encoding#angle encoding#QML#kernel

Related cases

← Back to the misconceptions section