OpenQASM 3: A broader and deeper quantum assembly language
- URL: http://arxiv.org/abs/2104.14722v2
- Date: Wed, 16 Mar 2022 22:06:14 GMT
- Title: OpenQASM 3: A broader and deeper quantum assembly language
- Authors: Andrew W. Cross, Ali Javadi-Abhari, Thomas Alexander, Niel de
Beaudrap, Lev S. Bishop, Steven Heidel, Colm A. Ryan, Prasahnt Sivarajah,
John Smolin, Jay M. Gambetta, and Blake R. Johnson
- Abstract summary: Quantum assembly languages are machine-independent languages that traditionally describe quantum computation in the circuit model.
OpenQASM 2 was proposed as an imperative programming language for quantum circuits based on earlier QASM dialects.
In principle, any quantum computation could be described using OpenQASM 2, but there is a need to describe a broader set of circuits beyond the language of qubits and gates.
- Score: 1.1532193677299474
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Quantum assembly languages are machine-independent languages that
traditionally describe quantum computation in the circuit model. Open quantum
assembly language (OpenQASM 2) was proposed as an imperative programming
language for quantum circuits based on earlier QASM dialects. In principle, any
quantum computation could be described using OpenQASM 2, but there is a need to
describe a broader set of circuits beyond the language of qubits and gates. By
examining interactive use cases, we recognize two different timescales of
quantum-classical interactions: real-time classical computations that must be
performed within the coherence times of the qubits, and near-time computations
with less stringent timing. Since the near-time domain is adequately described
by existing programming frameworks, we choose in OpenQASM 3 to focus on the
real-time domain, which must be more tightly coupled to the execution of
quantum operations. We add support for arbitrary control flow as well as
calling external classical functions. In addition, we recognize the need to
describe circuits at multiple levels of specificity, and therefore we extend
the language to include timing, pulse control, and gate modifiers. These new
language features create a multi-level intermediate representation for circuit
development and optimization, as well as control sequence implementation for
calibration, characterization, and error mitigation.
Related papers
- Efficient Learning for Linear Properties of Bounded-Gate Quantum Circuits [63.733312560668274]
Given a quantum circuit containing d tunable RZ gates and G-d Clifford gates, can a learner perform purely classical inference to efficiently predict its linear properties?
We prove that the sample complexity scaling linearly in d is necessary and sufficient to achieve a small prediction error, while the corresponding computational complexity may scale exponentially in d.
We devise a kernel-based learning model capable of trading off prediction error and computational complexity, transitioning from exponential to scaling in many practical settings.
arXiv Detail & Related papers (2024-08-22T08:21:28Z) - A Quantum-Classical Collaborative Training Architecture Based on Quantum
State Fidelity [50.387179833629254]
We introduce a collaborative classical-quantum architecture called co-TenQu.
Co-TenQu enhances a classical deep neural network by up to 41.72% in a fair setting.
It outperforms other quantum-based methods by up to 1.9 times and achieves similar accuracy while utilizing 70.59% fewer qubits.
arXiv Detail & Related papers (2024-02-23T14:09:41Z) - An Improved QFT-Based Quantum Comparator and Extended Modular Arithmetic
Using One Ancilla Qubit [4.314578336989336]
We propose a quantum-classical comparator based on the quantum Fourier transform (QFT)
Proposed operators only require one ancilla qubit, which is optimal for qubit resources.
The proposed algorithms reduce computing resources and make them valuable for Noisy Intermediate-Scale Quantum (NISQ) computers.
arXiv Detail & Related papers (2023-05-16T02:09:41Z) - QParallel: Explicit Parallelism for Programming Quantum Computers [62.10004571940546]
We present a language extension for parallel quantum programming.
QParallel removes ambiguities concerning parallelism in current quantum programming languages.
We introduce a tool that guides programmers in the placement of parallel regions by identifying the subroutines that profit most from parallelization.
arXiv Detail & Related papers (2022-10-07T16:35:16Z) - Enabling Retargetable Optimizing Compilers for Quantum Accelerators via
a Multi-Level Intermediate Representation [78.8942067357231]
We present a multi-level quantum-classical intermediate representation (IR) that enables an optimizing, retargetable, ahead-of-time compiler.
We support the entire gate-based OpenQASM 3 language and provide custom extensions for common quantum programming patterns and improved syntax.
Our work results in compile times that are 1000x faster than standard Pythonic approaches, and 5-10x faster than comparative standalone quantum language compilers.
arXiv Detail & Related papers (2021-09-01T17:29:47Z) - Accelerating variational quantum algorithms with multiple quantum
processors [78.36566711543476]
Variational quantum algorithms (VQAs) have the potential of utilizing near-term quantum machines to gain certain computational advantages.
Modern VQAs suffer from cumbersome computational overhead, hampered by the tradition of employing a solitary quantum processor to handle large data.
Here we devise an efficient distributed optimization scheme, called QUDIO, to address this issue.
arXiv Detail & Related papers (2021-06-24T08:18:42Z) - A MLIR Dialect for Quantum Assembly Languages [78.8942067357231]
We demonstrate the utility of the Multi-Level Intermediate Representation (MLIR) for quantum computing.
We extend MLIR with a new quantum dialect that enables the expression and compilation of common quantum assembly languages.
We leverage a qcor-enabled implementation of the QIR quantum runtime API to enable a retargetable (quantum hardware agnostic) compiler workflow.
arXiv Detail & Related papers (2021-01-27T13:00:39Z) - Quingo: A Programming Framework for Heterogeneous Quantum-Classical
Computing with NISQ Features [0.0]
We propose the Quingo framework to integrate and manage quantum-classical software and hardware to provide the programmability over HQCC applications.
We also propose the Quingo programming language, an external domain-specific language highlighting timer-based timing control and opaque operation definition.
arXiv Detail & Related papers (2020-09-02T06:42:51Z) - On the Principles of Differentiable Quantum Programming Languages [13.070557640180004]
Variational Quantum Circuits (VQCs) are predicted to be one of the most important near-term quantum applications.
We propose the first formalization of auto-differentiation techniques for quantum circuits.
arXiv Detail & Related papers (2020-04-02T16:46:13Z)
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.