Quantum model matches classical accuracy on Fashion-MNIST

Akitada Sakurai and colleagues at the Okinawa Institute of Science and Technology Graduate University have developed a quantum machine learning model achieving 89.3% accuracy on the Fashion-MNIST dataset, matching or surpassing classical machine learning baselines. Their work introduces Quantum Random Features and Quantum Dynamical Random Features, lightweight models that generate high-dimensional data representations without the need for complex parameter optimization.

These models use Z-rotation encoding combined with random permutations or Hamiltonian dynamics to create Nf-dimensional feature maps at a preprocessing cost of O(log(N_f)), offering a pathway to scalable quantum learning. By linking spectral theory with feasible quantum dynamics, the researchers provide a compact and hardware-compatible route to scalable quantum learning.

Quantum Random Features Mimic Classical Spectral Representations

Simulations employing the Quantum Random Features (QRF) model achieved 89.3% accuracy, matching or surpassing classical baselines with scalable qubit requirements. This logarithmic scaling of preprocessing cost is a significant advantage, offering a pathway to scalability that has long eluded many quantum machine learning approaches. The efficiency stems from the deliberate reproduction of structures similar to those found in classical Random Fourier Features (RFF), a technique used to approximate kernel methods.

Spectral analysis confirms that QRF and QDRF effectively mimic the behavior of RFF, suggesting a strong theoretical foundation for their performance. The design of QRF and QDRF centers on encoding data through single-qubit Rz rotations, followed by either fixed random permutations or Hamiltonian dynamics to enhance frequency coverage and induce entanglement.

Implementing arbitrary permutation matrices on current quantum hardware can be resource intensive, but the researchers demonstrate that Ising-model dynamics, a form of Hamiltonian evolution, provides a viable and experimentally compatible alternative. The work notes that naturally evolving Hamiltonian dynamics can effectively substitute for permutation-based spectral scrambling. This flexibility in implementation is important for adapting the model to the constraints of near-term quantum devices.

The models’ ability to tune circuit depth and output dimension independently offers an advantage over other dimensionality reduction techniques, such as Principal Component Analysis (PCA), which can be limited when dealing with high-resolution data. QRF’s adaptability makes it particularly well-suited for complex, high-dimensional inputs, opening possibilities for applications in areas like medical imaging where data complexity is a major challenge.

The models’ reliance on fixed random transformations, rather than trainable parameters, distinguishes them from many other quantum machine learning algorithms and contributes to their efficiency. By deliberately reproducing the spectral structures of classical RFF, QRF and QDRF offer a novel approach to quantum feature map generation, potentially bridging the gap between classical and quantum machine learning capabilities.

Z-Rotation Encoding and Phase Scrambling in QRF Architecture

This parity with classical methods is notable in quantum machine learning, where models often struggle to outperform their traditional counterparts, and demonstrates a potential pathway toward practical quantum advantage. Each layer begins with Z-rotation encoding, embedding data using single-qubit Rz gates with angles determined by a random matrix and bias vector. Following this encoding, a spectral scrambling step is applied, achieved either through a fixed random permutation matrix in QRF or by Hamiltonian evolution under an Ising-type model in QDRF.

This scrambling process randomizes phases and enriches the accessible frequency spectrum, enhancing the model’s ability to capture complex patterns within the data. The preprocessing cost for generating Nf-dimensional feature maps is O( log(N_f)), a significant reduction in computational demand compared to many existing quantum machine learning techniques. The permutation or dynamical operator generates a pseudo-random matrix by reordering computational basis states, further increasing spectral diversity and inducing multi-qubit entanglement.

N_f-Dimensional Feature Maps with O(log(N_f)) Preprocessing

Achieving 89. 3% accuracy on the Fashion-MNIST dataset, Quantum Random Features (QRF) and Quantum Dynamical Random Features (QDRF) demonstrate performance matching or exceeding that of established classical machine learning models, a result signaling potential for near-term quantum advantage in pattern recognition tasks. This level of accuracy, attained with scalable qubit requirements, positions these models as a promising alternative to classical approaches, particularly as dataset sizes continue to grow.

The models’ ability to rival classical performance is rooted in their efficient construction of high-dimensional spectral representations, a process that avoids the computationally intensive step of variational optimization. This logarithmic scaling represents a significant efficiency gain over classical kernel-based quantum models, where preprocessing costs typically increase linearly with the feature map dimension.

The reduced computational burden is achieved through a combination of Z-rotation encoding and either random permutations or Hamiltonian dynamics, effectively compressing the data while preserving essential spectral information. The underlying principle behind QRF and QDRF draws inspiration from classical Random Fourier Features (RFF), which approximate kernel functions by mapping inputs into high-dimensional feature spaces. However, unlike RFF which relies on random linear projections, the quantum models use layered quantum circuits to achieve this mapping, offering a pathway to potentially more complex and subtle feature extraction.

While QCL optimizes the entire quantum circuit for a specific task, and QELM employs a fixed circuit followed by classical learning, QRF and QDRF maintain a fixed quantum component, training only the classical classifier. This simplification streamlines the learning process and reduces the computational demands, making the models more amenable to implementation on near-term quantum hardware.

The researchers note that QRF’s preprocessing cost of O(dNL) is advantageous for large input dimensions, while QERC’s encoding and output dimensions depend on the number of qubits, offering flexibility in resource allocation. This approach, which uses naturally evolving Hamiltonian dynamics, demonstrates that complex transformations can be achieved without the need for detailed quantum circuits. The combination of theoretical analysis and numerical simulations establishes a scalable, hardware-compatible route for constructing expressive quantum machine learning architectures grounded in spectral theory, offering a compelling vision for the future of quantum computation.

QRF and QDRF Reproduce Random Fourier Feature Statistics

Simulations demonstrate that the Quantum Random Features (QRF) model achieves 89. The design deliberately reproduces the spectral structures observed in Random Fourier Features (RFF), a classical technique for approximating kernel functions, but does so within a quantum framework. This connection to RFF provides a strong theoretical foundation and allows for direct comparison of performance characteristics. The researchers found a qualitative transition in behavior when the quantum feature space surpasses the input dimension, specifically noting a bifurcation between 11 and 15 qubits.

This finding highlights the importance of high-dimensional mappings in these quantum random feature models, suggesting that achieving a sufficiently rich feature space is critical for realizing their potential. This approach, which uses an Ising-type interaction, provides a means of enriching frequency coverage within the quantum feature map.

Fashion-MNIST Accuracy: QRF Performance Matches Classical Baselines

This result is particularly noteworthy given the models’ design, which prioritizes scalability and reduced computational demands over deep, parameterized circuits often required by other quantum machine learning approaches. The team demonstrated this parity with 16 qubits and a kernel bandwidth of 1/σ = 10, surpassing previously reported quantum machine learning results on the same benchmark. The researchers specifically constructed a RFF-like Quantum Random Feature (QRF_(Rff)) to directly compare with the classical Random Fourier Features, finding comparable performance when the quantum model reproduces the same random frequencies.

However, the computational advantage of QRF is fully realized when moving beyond the direct implementation of QRFRff. The exponential cost of constructing the necessary transformation matrix, WRFF, remains a barrier for that approach.

Instead, the team demonstrated that increasing the number of layers in the standard QRF model, approximately 20 to 30 layers, allows its test accuracy to converge toward that of QRFRff for any given qubit count and kernel bandwidth. This convergence highlights the model’s ability to attain exponential feature expressivity with only linear preprocessing cost, a critical step toward practical implementation on noisy intermediate-scale quantum (NISQ) hardware.

Further analysis revealed that Quantum Dynamical Random Features (QDRF), which employs Ising-model dynamics, also reaches accuracy comparable to the extreme case of QRFRff. By focusing on reproducing the spectral characteristics of classical methods, they have created a quantum model that not only matches classical performance but also offers a potential route to overcoming the limitations of current quantum machine learning techniques. The ability to achieve comparable performance with fewer computational resources and a more streamlined design positions QRF and QDRF as promising candidates for near-term quantum machine learning applications.

👉 More information
🗞 Quantum random features: A spectral framework for quantum machine learning
✍️ Akitada Sakurai, Aoi Hayashi, William John Munro and Kae Nemoto
🧠 DOI: http://link.aps.org/doi/10.1103/x2r6-4tsc

Stay current

See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.

Avatar of The Neuron

The Neuron

With a keen intuition for emerging technologies, The Neuron brings over 5 years of deep expertise to the AI conversation. Coming from roots in software engineering, they've witnessed firsthand the transformation from traditional computing paradigms to today's ML-powered landscape. Their hands-on experience implementing neural networks and deep learning systems for Fortune 500 companies has provided unique insights that few tech writers possess. From developing recommendation engines that drive billions in revenue to optimizing computer vision systems for manufacturing giants, The Neuron doesn't just write about machine learning—they've shaped its real-world applications across industries. Having built real systems that are used across the globe by millions of users, that deep technological bases helps me write about the technologies of the future and current. Whether that is AI or Quantum Computing.

Latest Posts by The Neuron: