Compiling quantamorphisms for the IBM Q Experience
- URL: http://arxiv.org/abs/2010.10510v1
- Date: Wed, 21 Oct 2020 13:32:24 GMT
- Title: Compiling quantamorphisms for the IBM Q Experience
- Authors: Ana Neri, Rui Soares Barbosa, Jos\'e N. Oliveira
- Abstract summary: This paper contributes to extending the laws of classical program algebra to quantum programming.
It aims at building correct-by-construction quantum circuits to be deployed on quantum devices such as those available at the IBM Q Experience.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Based on the connection between the categorical derivation of classical
programs from specifications and the category-theoretic approach to quantum
physics, this paper contributes to extending the laws of classical program
algebra to quantum programming. This aims at building correct-by-construction
quantum circuits to be deployed on quantum devices such as those available at
the IBM Q Experience. Quantum circuit reversibility is ensured by minimal
complements, extended recursively. Measurements are postponed to the end of
such recursive computations, termed "quantamorphisms", thus maximising the
quantum effect. Quantamorphisms are classical catamorphisms which, extended to
ensure quantum reversibility, implement quantum cycles (vulg. for-loops) and
quantum folds on lists. By Kleisli correspondence, quantamorphisms can be
written as monadic functional programs with quantum parameters. This enables
the use of Haskell, a monadic functional programming language, to perform the
experimental work. Such calculated quantum programs prepared in Haskell are
pushed through Quipper to the Qiskit interface to IBM Q quantum devices. The
generated quantum circuits - often quite large - exhibit the predicted
behaviour. However, running them on real quantum devices incurs into a
significant amount of errors. As quantum devices are constantly evolving, an
increase in reliability is likely in the near future, allowing for our programs
to run more accurately.
Related papers
- A Case for Synthesis of Recursive Quantum Unitary Programs [9.287571320531457]
Quantum programs are notoriously difficult to code and verify due to unintuitive quantum knowledge associated with quantum programming.
We present Q Synth, the first quantum program synthesis framework, including a new inductive quantum programming language.
Q Synth successfully synthesizes ten quantum unitary programs including quantum adder circuits, quantum eigenvalue inversion circuits and Quantum Fourier Transformation.
arXiv Detail & Related papers (2023-11-20T03:01:36Z) - Quantum Recursive Programming with Quantum Case Statements [8.320147245667124]
A simple programming language for supporting this kind of quantum recursion is defined.
A series of examples are presented to show that some quantum algorithms can be elegantly written as quantum recursion programs.
arXiv Detail & Related papers (2023-11-03T05:44:52Z) - The Quantum Monadology [0.0]
Modern theory of functional programming languages uses monads for encoding computational side-effects and side-contexts.
We analyze the (co)monads on categories of parameterized module spectra induced by Grothendieck's "motivic yoga of operations"
We indicate a domain-specific quantum programming language (QS) expressing these monadic quantum effects in transparent do-notation.
arXiv Detail & Related papers (2023-10-24T11:19:24Z) - Quantum data learning for quantum simulations in high-energy physics [55.41644538483948]
We explore the applicability of quantum-data learning to practical problems in high-energy physics.
We make use of ansatz based on quantum convolutional neural networks and numerically show that it is capable of recognizing quantum phases of ground states.
The observation of non-trivial learning properties demonstrated in these benchmarks will motivate further exploration of the quantum-data learning architecture in high-energy physics.
arXiv Detail & Related papers (2023-06-29T18:00:01Z) - 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 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) - Recent Advances for Quantum Neural Networks in Generative Learning [98.88205308106778]
Quantum generative learning models (QGLMs) may surpass their classical counterparts.
We review the current progress of QGLMs from the perspective of machine learning.
We discuss the potential applications of QGLMs in both conventional machine learning tasks and quantum physics.
arXiv Detail & Related papers (2022-06-07T07:32:57Z) - Qunity: A Unified Language for Quantum and Classical Computing (Extended
Version) [3.5348690973777006]
We introduce Qunity, a new quantum programming language.
Qunity treats quantum computing as a natural generalization of classical computing.
We show how Qunity can cleanly express several quantum algorithms.
arXiv Detail & Related papers (2022-04-26T15:34:22Z) - 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) - Depth-efficient proofs of quantumness [77.34726150561087]
A proof of quantumness is a type of challenge-response protocol in which a classical verifier can efficiently certify quantum advantage of an untrusted prover.
In this paper, we give two proof of quantumness constructions in which the prover need only perform constant-depth quantum circuits.
arXiv Detail & Related papers (2021-07-05T17:45:41Z) - Probing the Universality of Topological Defect Formation in a Quantum
Annealer: Kibble-Zurek Mechanism and Beyond [46.39654665163597]
We report on experimental tests of topological defect formation via the one-dimensional transverse-field Ising model.
We find that the quantum simulator results can indeed be explained by the KZM for open-system quantum dynamics with phase-flip errors.
This implies that the theoretical predictions of the generalized KZM theory, which assumes isolation from the environment, applies beyond its original scope to an open system.
arXiv Detail & Related papers (2020-01-31T02:55:35Z)
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.