The authors built a medical imaging classifier (for detecting polyps in images) that uses a quantum computing simulator as one of its processing layers. Because quantum measurements aren't differentiable (you can't use standard backpropagation through them), they train a surrogate neural network that mimics the quantum layer, allowing gradients to flow end-to-end. An autoencoder compresses the high-dimensional images into compact representations that are fed into the quantum simulator, and the whole pipeline is trained jointly for both accurate classification and faithful image reconstruction.
Main takeaways:
- Quantum computing layers can't be trained with standard backpropagation because measurements are discrete and non-differentiable
- A differentiable surrogate model (a neural net trained to emulate the quantum layer) bridges the gradient barrier and enables end-to-end training
- An autoencoder reduces image dimensionality before the quantum step; it's trained jointly for both compression and classification accuracy
- The quantum embeddings come from expectation values in a simulated Rydberg Hamiltonian (a physics model of interacting atoms)
- The hybrid pipeline outperforms traditional PCA or unguided autoencoders on polyp detection, even with current noisy quantum simulators