Skip to main content
QUICK REVIEW

[Paper Review] Approximate complex amplitude encoding algorithm and its application to data classification problems

Naoki Mitsuda, Ichimura, Tatsuhiro|arXiv (Cornell University)|Nov 23, 2022
Quantum Computing Algorithms and ArchitectureComputer Science48 references5 citations
TL;DR

This paper proposes Approximate Complex Amplitude Encoding (ACAE), a variational quantum algorithm that efficiently loads complex-valued classical data into quantum states using fidelity-based optimization and classical shadow techniques. It enables a compact, gate-efficient implementation of the Hadamard classifier for binary classification, demonstrating successful Iris dataset classification and credit card fraud detection with reduced circuit depth compared to exact methods.

ABSTRACT

Quantum computing has a potential to accelerate the data processing efficiency, especially in machine learning, by exploiting special features such as the quantum interference. The major challenge in this application is that, in general, the task of loading a classical data vector into a quantum state requires an exponential number of quantum gates. The approximate amplitude encoding (AAE) method, which uses a variational means to approximately load a given real-valued data vector into the amplitude of a quantum state, was recently proposed as a general approach to this problem mainly for near-term devices. However, AAE cannot load a complex-valued data vector, which narrows its application range. In this work, we extend AAE so that it can handle a complex-valued data vector. The key idea is to employ the fidelity distance as a cost function for optimizing a parameterized quantum circuit, where the classical shadow technique is used to efficiently estimate the fidelity and its gradient. We apply this algorithm to realize the complex-valued-kernel binary classifier called the compact Hadamard classifier, and then give a numerical experiment showing that it enables classification of Iris dataset and credit card fraud detection.

Motivation & Objective

  • To address the limitation of existing approximate amplitude encoding (AAE) methods, which only handle real-valued data, by extending them to complex-valued data.
  • To enable efficient quantum state preparation for complex-valued data, crucial for applications like the compact Hadamard classifier (CHC) and quantum chemistry simulations.
  • To develop a scalable, shallow-circuit method for encoding complex amplitudes using a fidelity-based cost function and efficient gradient estimation.
  • To demonstrate practical classification performance on real-world datasets, including Iris and credit card fraud detection, using a reduced-gate quantum circuit.

Proposed method

  • The algorithm uses a parameterized quantum circuit to prepare a model quantum state approximating the target state with complex amplitudes.
  • It replaces the MMD-based cost function in AAE with fidelity as the objective, which captures differences in complex amplitudes between target and model states.
  • Classical shadows with random Clifford unitaries are employed to efficiently estimate the fidelity and its gradient, reducing resource overhead.
  • The method is integrated with the compact Hadamard classifier (CHC), where test data are encoded into ancilla qubit amplitudes and measured via Hadamard rotation to extract classification outcomes.
  • The optimization is performed using gradient descent on the fidelity cost function, leveraging efficient classical shadow sampling for scalable evaluation.
  • The circuit architecture uses $ n + m + 1 $ qubits, where $ n $ and $ m $ correspond to the dimensions of training and test data, respectively.

Experimental results

Research questions

  • RQ1Can a variational quantum algorithm efficiently encode complex-valued classical data into quantum amplitudes using shallow circuits?
  • RQ2Does fidelity-based optimization outperform MMD-based optimization in capturing complex amplitude differences during state preparation?
  • RQ3Can ACAE enable a practical, low-depth implementation of the compact Hadamard classifier for real-world classification tasks?
  • RQ4How well does the ACAE-based classifier perform on benchmark datasets like Iris and credit card fraud detection?
  • RQ5What are the scalability challenges of fidelity-based optimization in large-scale quantum systems, particularly regarding gradient vanishing?

Key findings

  • The ACAE algorithm successfully encodes complex-valued data into quantum states using $ \mathcal{O}(\text{poly}(n)) $ gates, enabling efficient state preparation on near-term quantum devices.
  • The use of fidelity as a cost function allows accurate capture of complex amplitude differences, unlike MMD-based methods which are insensitive to phase and complex structure.
  • Numerical experiments show that the ACAE-based compact Hadamard classifier achieves correct classification on all 8 test instances of the Iris dataset, with $ \langle \sigma_z^{(\text{A})} \rangle $ values indicating correct class labels.
  • The algorithm demonstrates successful classification on credit card fraud detection, correctly identifying all 8 test samples (4 normal, 4 fraudulent) with $ \langle \sigma_z^{(\text{A})} \rangle $ values of correct sign.
  • The method reduces the number of required gates compared to the original CHC, which requires exponentially many gates for exact state preparation.
  • The study identifies the barren plateau problem as a key challenge in scaling ACAE to large systems due to exponential decay of gradients in fidelity-based optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.