[Paper Review] Integer Arithmetic With Hybrid Quantum-Classical Circuits
This paper proposes a hybrid quantum-classical circuit, the Quantum Multiply-Add Circuit (QMAC), which leverages the Quantum Fourier Transform (QFT) and classical fan-out to perform integer multiply-add operations faster than classical counterparts. By encoding integers in QFT states and applying diagonal single-qubit gates, the QMAC achieves $O(n+k)$ depth for exact computation and $O(n+\log k)$ for approximate results—significantly outperforming classical $O(n\log k)$ MAC circuits.
Quantum circuits which perform integer arithmetic could potentially outperform their classical counterparts. In this paper, a quantum circuit is considered which performs a specific computational pattern on classically represented integers to accelerate the computation. Such a hybrid circuit could be embedded in a conventional computer architecture as a quantum device or accelerator. In particular, a quantum multiply-add circuit (QMAC) using a Quantum Fourier Transform (QFT) is proposed which can perform the calculation on conventional integers faster than its conventional counterpart. Whereas classically applying a multiply-adder (MAC) $n$ times to $k$ bit integers would require $O(n \log k)$ parallel steps, the hybrid QMAC needs only $O(n + k)$ steps for the exact result and $O(n + \log k)$ steps for an approximate result.
Motivation & Objective
- To design a hybrid quantum-classical circuit that accelerates integer arithmetic operations, particularly multiply-add (MAC), beyond classical limits.
- To leverage quantum advantages—specifically entanglement via QFT and classical information copying (fan-out)—to reduce circuit depth.
- To demonstrate that a full-scale quantum computer is not required, enabling near-term feasibility through accelerator-style integration.
- To analyze depth complexity and compare it with classical MAC circuits to quantify performance gains.
- To explore the feasibility of using such circuits as specialized accelerators in conventional computing architectures.
Proposed method
- Uses the Quantum Fourier Transform (QFT) to encode classical integers into highly entangled quantum states, enabling diagonal gate operations.
- Employs a unitary operator $M_j(y,x)$ that applies phase shifts based on the binary digits of $y$ and $x$, allowing controlled multiplication in the QFT basis.
- Applies classical fan-out to copy bit values across multiple qubit registers, enabling parallel application of single-qubit gates in one step.
- Constructs an exact QMAC circuit using $QFT$, $M$-gates, and $QFT^\dagger$, with depth $O(n+k)$ for $n$ integers of $k$ bits.
- Introduces an approximate version using a low-depth $QFT^\dagger$ with precision $\epsilon$, reducing depth to $O(n + \log k + \log \log 1/\epsilon)$.
- Limits two-qubit gate count by using classically controlled single-qubit gates instead of fully quantum-controlled gates, reducing resource overhead.
Experimental results
Research questions
- RQ1Can a hybrid quantum-classical circuit outperform classical MAC circuits in terms of circuit depth for integer multiply-add operations?
- RQ2What is the depth complexity of a QFT-based quantum multiply-add circuit compared to classical implementations?
- RQ3How does the use of QFT and classical fan-out contribute to reducing quantum circuit depth?
- RQ4To what extent can approximate arithmetic with controlled precision be used to further reduce depth while maintaining accuracy?
- RQ5Can such a circuit be implemented without a full quantum computer, enabling near-term practical deployment as a hardware accelerator?
Key findings
- The exact QMAC circuit achieves a depth of $O(n + k)$ for $n$ $k$-bit integers, significantly reducing the classical $O(n\log k)$ depth complexity.
- The approximate QMAC circuit achieves depth $O(n + \log k + \log \log 1/\epsilon)$, with precision $\epsilon$, enabling faster execution at the cost of controlled error.
- The circuit uses only $O(k^3 + k \cdot \log(k/\epsilon))$ qubits, with the majority of qubits required for the QFT and auxiliary entanglement.
- The use of classical fan-out allows information to propagate across multiple qubits in a single step, enabling parallel application of single-qubit gates.
- The hybrid design reduces two-qubit gate count by using classically controlled single-qubit operations, enhancing feasibility for near-term devices.
- The performance advantage of the QMAC over classical MAC circuits increases with both the number of sequential operations $n$ and integer size $k$.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.