Related Experiment Video
Updated: Feb 14, 2026

Large Scale Energy Efficient Sensor Network Routing Using a Quantum Processor Unit
Published on: September 8, 2023
Quantum Neural Network Realization of XOR on a Desktop Quantum Computer
Tee Hui Teo1, Qianrui Lin1, Yiyang Fu1
1Singapore University of Technology and Design, Singapore 487372, Singapore.
Abstract:
Quantum neural networks leverage quantum computing to address machine learning problems beyond the capabilities of classical computing. In this study, we demonstrate a quantum neural network that learns the nonlinear exclusive OR function on a desktop quantum computer. The exclusive OR task is a nonlinear benchmark that cannot be solved by a single-layer perceptron, making it an excellent test for quantum machine learning. We trained a variational quantum circuit model in a simulation using the PennyLane framework to learn the two-bit exclusive OR mapping. After obtaining the circuit parameters in the simulation, the trained quantum neural network was deployed on a two-qubit Nuclear Magnetic Resonance-based desktop quantum computer operating at room temperature to evaluate the actual hardware performance. The experimental quantum state fidelity reached approximately 98.85%(Ry) and 99.35%(Rx), and the overall average purity was 95.16%(Ry) and 97.43%(Rx), indicating excellent agreement between the expected and measured results. These positive outcomes underscore the feasibility of quantum machine learning on small-scale quantum hardware, marking a minimal yet physically meaningful benchmark.
Related Concept Videos
Quantum Numbers
The Quantum-Mechanical Model of an Atom
2D NMR: Heteronuclear Single-Quantum Correlation Spectroscopy (HSQC)
Protein Networks
These interactions can be represented through maps depicting protein-protein interaction networks, represented as nodes and edges. Nodes are circles that are representative of a protein,...
Protein Networks
Network Covalent Solids
To break or to melt a covalent network solid, covalent bonds must be broken. Because covalent bonds are relatively strong, covalent network solids are typically...

