Skip to main content
QUICK REVIEW

[Paper Review] Nonlinear transformation of complex amplitudes via quantum singular value transformation

Naixu Guo, Kosuke Mitarai|arXiv (Cornell University)|Jul 22, 2021
Quantum Computing Algorithms and ArchitectureComputer Science12 references7 citations
TL;DR

This paper proposes a quantum algorithm for nonlinear transformation of complex amplitudes using quantum singular value transformation (QSVT), enabling probabilistic nonlinear operations on quantum states. By constructing a block-encoding of amplitudes from a state preparation oracle, the method achieves exponential speedup in precision and roughly square-root dependence on input dimension, offering a pathway to implement neural networks on quantum computers.

ABSTRACT

Due to the linearity of quantum operations, it is not straightforward to implement nonlinear transformations on a quantum computer, making some practical tasks like a neural network hard to be achieved. In this work, we define a task called nonlinear transformation of complex amplitudes and provide an algorithm to achieve this task. Specifically, we construct a block-encoding of complex amplitudes from a state preparation unitary. This allows us to transform the complex amplitudes by using quantum singular value transformation. We evaluate the required overhead in terms of input dimension and precision, which reveals that the algorithm depends on the roughly square root of input dimension and achieves an exponential speedup on precision compared with previous work. We also discuss its possible applications to quantum machine learning, where complex amplitudes encoding classical or quantum data are processed by the proposed method. This paper provides a promising way to introduce highly complex nonlinearity of the quantum states, which is essentially missing in quantum mechanics.

Motivation & Objective

  • To address the fundamental challenge of implementing nonlinear operations on quantum computers due to the linearity of quantum mechanics.
  • To define and solve the task of nonlinear transformation of complex amplitudes (NTCA), where nonlinear functions are applied directly to the real and imaginary parts of state amplitudes.
  • To develop a block-encoding technique that encodes the real or imaginary parts of amplitudes into a Hermitian matrix for use in QSVT.
  • To demonstrate how the proposed method enables direct implementation of quantum neural networks by applying nonlinear activation functions to quantum state amplitudes.
  • To quantify the resource overhead in terms of input dimension and precision, showing favorable scaling for practical quantum machine learning applications.

Proposed method

  • The method introduces a block-encoding of amplitudes by constructing a unitary operator from a state preparation oracle that encodes the real or imaginary parts of complex amplitudes into a Hermitian matrix.
  • It leverages quantum singular value transformation (QSVT) to apply nonlinear functions P and Q to the singular values of the encoded matrix, which correspond to the real and imaginary parts of the amplitudes.
  • The algorithm uses controlled versions of the state preparation oracle and its adjoint, with the number of applications scaling as $\mathcal{O}\left(d\sqrt{N/\sum_{k=1}^{N}|P'(x_k)+Q'(y_k)|^2}\right)$ in expectation, where d is the degree of polynomial approximation.
  • For polynomial approximation of nonlinear functions, the method ensures error bounds by leveraging Taylor series expansions and bounding Bernoulli numbers, achieving $\mathcal{O}(\log(1/\varepsilon))$ degree for $\varepsilon$-precision.
  • The approach generalizes to multi-layer quantum neural networks by recursively applying the NTCA procedure to hidden layer states, using uniform singular value amplification to normalize coefficients.
  • Amplitude estimation is applied at the end to extract output amplitudes with additive error $\beta$, with total resource cost $\tilde{\mathcal{O}}\left(d^{\ell}N_{\ell}\sqrt{N_1N_2\cdots N_{\ell}}/\beta\right)$ for an $\ell$-layer network.

Experimental results

Research questions

  • RQ1Can nonlinear transformations be applied directly to the complex amplitudes of a quantum state, despite the linearity of quantum operations?
  • RQ2How can a block-encoding of amplitude components (real and imaginary parts) be constructed from a state preparation oracle to enable QSVT-based nonlinear processing?
  • RQ3What is the resource cost of implementing NTCA in terms of input dimension N and desired precision $\varepsilon$?
  • RQ4Can the proposed method be used to implement quantum neural networks with nonlinear activation functions on quantum states?
  • RQ5What is the scaling of resources required for multi-layer quantum neural networks using this approach?

Key findings

  • The algorithm achieves an exponential speedup in precision compared to previous methods, with the required degree of polynomial approximation scaling as $\mathcal{O}(\log(1/\varepsilon))$ for $\varepsilon$-precision.
  • The number of controlled state preparation oracle calls scales as $\mathcal{O}\left(d\sqrt{N/\sum_{k=1}^{N}|P'(x_k)+Q'(y_k)|^2}\right)$, showing roughly square-root dependence on input dimension N.
  • For a two-layer quantum neural network, the method requires $\tilde{\mathcal{O}}\left(d^2\sqrt{N_1}\right)$ uses of the input state preparation oracle $U_\psi$, with higher layers scaling multiplicatively.
  • The method enables the direct implementation of nonlinear activation functions (e.g., tanh) on quantum state amplitudes by approximating them with low-degree polynomials.
  • For $\ell$-layer quantum neural networks, the total resource cost is $\tilde{\mathcal{O}}\left(d^{\ell}\sqrt{N_1N_2\cdots N_{\ell-1}}\right)$ oracle calls, with amplitude estimation adding a $\tilde{\mathcal{O}}(N_\ell^{3/2}/\beta)$ factor for output state readout.
  • The approach provides a promising framework for quantum machine learning by introducing controlled, nonlinear transformations on quantum states that are otherwise linear by nature.

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.