Qimaera: Type-safe (Variational) Quantum Programming in Idris
- URL: http://arxiv.org/abs/2111.10867v1
- Date: Sun, 21 Nov 2021 17:46:25 GMT
- Title: Qimaera: Type-safe (Variational) Quantum Programming in Idris
- Authors: Liliane-Joy Dandy, Emmanuel Jeandel, Vladimir Zamdzhiev
- Abstract summary: Variational Quantum Algorithms are hybrid classical-quantum algorithms where classical and quantum computation work in tandem to solve computational problems.
Qimaera is a set of libraries for the Idris 2 programming language that enable the programmer to implementvariational quantum algorithms.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Variational Quantum Algorithms are hybrid classical-quantum algorithms where
classical and quantum computation work in tandem to solve computational
problems. These algorithms create interesting challenges for the design of
suitable programming languages. In this paper we introduce Qimaera, which is a
set of libraries for the Idris 2 programming language that enable the
programmer to implement (variational) quantum algorithms where the full power
of the elegant Idris language works in synchrony with quantum programming
primitives that we introduce. The two key ingredients of Idris that make this
possible are (1) dependent types which allow us to implement unitary (i.e.
reversible and controllable) quantum operations; and (2) linearity which allows
us to enforce fine-grained control over the execution of quantum operations
that ensures compliance with the laws of quantum mechanics. We demonstrate that
Qimaera is suitable for variational quantum programming by providing
implementations of the two most prominent variational quantum algorithms --
QAOA and VQE. To the best of our knowledge, this is the first implementation of
these algorithms that has been achieved in a type-safe framework.
Related papers
- A Few Shot Learning Scheme for Quantum Natural Language Processing [0.0]
We develop a framework to implement Few Shot Learning for Quantum Natural Language Processing.
This framework is put to the test to explore its behaviour and its power in extracting useful work from each call to a quantum system.
arXiv Detail & Related papers (2024-09-18T16:24:51Z) - The Algorithm for Solving Quantum Linear Systems of Equations With Coherent Superposition and Its Extended Applications [8.8400072344375]
We propose two quantum algorithms for solving quantum linear systems of equations with coherent superposition.
The two quantum algorithms can both compute the rank and general solution by one measurement.
Our analysis indicates that the proposed algorithms are mainly suitable for conducting attacks against lightweight symmetric ciphers.
arXiv Detail & Related papers (2024-05-11T03:03:14Z) - Quantum Subroutine for Variance Estimation: Algorithmic Design and Applications [80.04533958880862]
Quantum computing sets the foundation for new ways of designing algorithms.
New challenges arise concerning which field quantum speedup can be achieved.
Looking for the design of quantum subroutines that are more efficient than their classical counterpart poses solid pillars to new powerful quantum algorithms.
arXiv Detail & Related papers (2024-02-26T09:32:07Z) - Quantum Machine Learning: from physics to software engineering [58.720142291102135]
We show how classical machine learning approach can help improve the facilities of quantum computers.
We discuss how quantum algorithms and quantum computers may be useful for solving classical machine learning tasks.
arXiv Detail & Related papers (2023-01-04T23:37:45Z) - Quantum Clustering with k-Means: a Hybrid Approach [117.4705494502186]
We design, implement, and evaluate three hybrid quantum k-Means algorithms.
We exploit quantum phenomena to speed up the computation of distances.
We show that our hybrid quantum k-Means algorithms can be more efficient than the classical version.
arXiv Detail & Related papers (2022-12-13T16:04:16Z) - Modularized and scalable compilation for quantum program in double
quantum dots [0.0]
We train the Ansatz circuit and exemplarily realize high-fidelity compilation of a series of universal quantum gates for singlet-triplet qubits in semiconductor double quantum dots.
Our work constitutes an important stepping-stone for exploiting the potential of this physical resource for advanced and complicated quantum algorithms.
arXiv Detail & Related papers (2022-11-10T02:32:39Z) - Efficient circuit implementation for coined quantum walks on binary
trees and application to reinforcement learning [0.0]
We propose a strategy to compose quantum circuit that performs quantum walk on binary trees following universal gate model quantum computation principles.
We show how it can be used to train a quantum reinforcement learning agent in a two player game environment.
arXiv Detail & Related papers (2022-10-13T06:48:11Z) - Quantum Netlist Compiler (QNC) [0.0]
We introduce the Quantum Netlist Compiler (QNC) that converts arbitrary unitary operators or desired initial states of quantum algorithms to OpenQASM-2.0 circuits.
The results show that QNC is well suited for quantum circuit optimization and produces circuits with competitive success rates in practice.
arXiv Detail & Related papers (2022-09-02T05:00:38Z) - 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) - Adiabatic Quantum Graph Matching with Permutation Matrix Constraints [75.88678895180189]
Matching problems on 3D shapes and images are frequently formulated as quadratic assignment problems (QAPs) with permutation matrix constraints, which are NP-hard.
We propose several reformulations of QAPs as unconstrained problems suitable for efficient execution on quantum hardware.
The proposed algorithm has the potential to scale to higher dimensions on future quantum computing architectures.
arXiv Detail & Related papers (2021-07-08T17:59:55Z) - Electronic structure with direct diagonalization on a D-Wave quantum
annealer [62.997667081978825]
This work implements the general Quantum Annealer Eigensolver (QAE) algorithm to solve the molecular electronic Hamiltonian eigenvalue-eigenvector problem on a D-Wave 2000Q quantum annealer.
We demonstrate the use of D-Wave hardware for obtaining ground and electronically excited states across a variety of small molecular systems.
arXiv Detail & Related papers (2020-09-02T22:46:47Z)
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.