A Q# Implementation of a Quantum Lookup Table for Quantum Arithmetic
Functions
- URL: http://arxiv.org/abs/2210.11786v1
- Date: Fri, 21 Oct 2022 07:40:24 GMT
- Title: A Q# Implementation of a Quantum Lookup Table for Quantum Arithmetic
Functions
- Authors: Rajiv Krishnakumar, Mathias Soeken, Martin Roetteler and William J.
Zeng
- Abstract summary: We present Q# implementations for arbitrary single-variabled fixed-point arithmetic operations for a gate-based quantum computer.
We show examples of how to use the LUT to implement quantum arithmetic functions.
The LUT implementation makes for a clear benchmark for evaluating the efficiency of bespoke quantum arithmetic circuits.
- Score: 3.961270923919885
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: In this paper, we present Q# implementations for arbitrary single-variabled
fixed-point arithmetic operations for a gate-based quantum computer based on
lookup tables (LUTs). In general, this is an inefficent way of implementing a
function since the number of inputs can be large or even infinite. However, if
the input domain can be bounded and there can be some error tolerance in the
output (both of which are often the case in practical use-cases), the quantum
LUT implementation of certain quantum arithmetic functions can be more
efficient than their corresponding reversible arithmetic implementations. We
discuss the implementation of the LUT using Q\# and its approximation errors.
We then show examples of how to use the LUT to implement quantum arithmetic
functions and compare the resources required for the implementation with the
current state-of-the-art bespoke implementations of some commonly used
arithmetic functions. The implementation of the LUT is designed for use by
practitioners to use when implementing end-to-end quantum algorithms. In
addition, given its well-defined approximation errors, the LUT implementation
makes for a clear benchmark for evaluating the efficiency of bespoke quantum
arithmetic circuits .
Related papers
- Quantum Circuit Optimization with AlphaTensor [47.9303833600197]
We develop AlphaTensor-Quantum, a method to minimize the number of T gates that are needed to implement a given circuit.
Unlike existing methods for T-count optimization, AlphaTensor-Quantum can incorporate domain-specific knowledge about quantum computation and leverage gadgets.
Remarkably, it discovers an efficient algorithm akin to Karatsuba's method for multiplication in finite fields.
arXiv Detail & Related papers (2024-02-22T09:20:54Z) - Automated Quantum Oracle Synthesis with a Minimal Number of Qubits [0.6299766708197883]
We present two methods for automatic quantum oracle synthesis.
One method uses a minimal number of qubits, while the other preserves the function domain values while also minimizing the overall required number of qubits.
arXiv Detail & Related papers (2023-04-07T20:12:13Z) - End-to-end resource analysis for quantum interior point methods and portfolio optimization [63.4863637315163]
We provide a complete quantum circuit-level description of the algorithm from problem input to problem output.
We report the number of logical qubits and the quantity/depth of non-Clifford T-gates needed to run the algorithm.
arXiv Detail & Related papers (2022-11-22T18:54:48Z) - Quantum state preparation without coherent arithmetic [5.478764356647437]
We introduce a versatile method for preparing a quantum state whose amplitudes are given by some known function.magnitude existing approaches.
We use a template quantum eigenvalue transformation circuit to convert a low cost block encoding of the sine function into the desired function.
arXiv Detail & Related papers (2022-10-26T17:48:31Z) - Compilation of algorithm-specific graph states for quantum circuits [55.90903601048249]
We present a quantum circuit compiler that prepares an algorithm-specific graph state from quantum circuits described in high level languages.
The computation can then be implemented using a series of non-Pauli measurements on this graph state.
arXiv Detail & Related papers (2022-09-15T14:52:31Z) - Quantum Goemans-Williamson Algorithm with the Hadamard Test and
Approximate Amplitude Constraints [62.72309460291971]
We introduce a variational quantum algorithm for Goemans-Williamson algorithm that uses only $n+1$ qubits.
Efficient optimization is achieved by encoding the objective matrix as a properly parameterized unitary conditioned on an auxilary qubit.
We demonstrate the effectiveness of our protocol by devising an efficient quantum implementation of the Goemans-Williamson algorithm for various NP-hard problems.
arXiv Detail & Related papers (2022-06-30T03:15:23Z) - Performance Evaluations of Noisy Approximate Quantum Fourier Arithmetic [1.1140384738063092]
We implement QFT-based integer addition and multiplications on quantum computers.
These operations are fundamental to various quantum applications.
We evaluate these implementations based on IBM's superconducting qubit architecture.
arXiv Detail & Related papers (2021-12-17T06:51:18Z) - Interactive Protocols for Classically-Verifiable Quantum Advantage [46.093185827838035]
"Interactions" between a prover and a verifier can bridge the gap between verifiability and implementation.
We demonstrate the first implementation of an interactive quantum advantage protocol, using an ion trap quantum computer.
arXiv Detail & Related papers (2021-12-09T19:00:00Z) - Efficient Evaluation of Exponential and Gaussian Functions on a Quantum
Computer [0.0]
We present algorithms for evaluating exponential and Gaussian functions efficiently on quantum computers.
For a specific, realistic NISQ application, the Toffoli count of the exponential function is found to be reduced from 15,690 down to 912.
Space requirements are also quite modest, to the extent that the aforementioned NISQ application can be implemented with as few as 71 logical qubits.
arXiv Detail & Related papers (2021-10-12T00:06:51Z) - Improving the Performance of Deep Quantum Optimization Algorithms with
Continuous Gate Sets [47.00474212574662]
Variational quantum algorithms are believed to be promising for solving computationally hard problems.
In this paper, we experimentally investigate the circuit-depth-dependent performance of QAOA applied to exact-cover problem instances.
Our results demonstrate that the use of continuous gate sets may be a key component in extending the impact of near-term quantum computers.
arXiv Detail & Related papers (2020-05-11T17:20:51Z) - Efficient Quantum Circuits for Accurate State Preparation of Smooth,
Differentiable Functions [0.8315657895474382]
We show that there exist families of quantum states that can be prepared to high precision with circuits of linear size and depth.
We further develop an algorithm that requires only linear classical time to generate accurate linear-depth circuits.
arXiv Detail & Related papers (2020-05-09T02:31:44Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.