openqasm/source/language/index.rst

31 lines
657 B
ReStructuredText
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.. _sec:spec:
Language
========
OpenQASM refers to the extended language we now describe, specifically
OpenQASM Version 3.0.
The human-readable form of OpenQASM is a simple, case-sensitive textual language.
Statements are separated by semicolons and whitespace is ignored.
In other respects, OpenQASM possesses a dual nature as an assembly language and
as a hardware description language.
The OpenQASM grammar specifications can be found at `[OpenQASM 3.0 Grammar] <../grammar/index.html>`__.
.. toctree::
comments
types
gates
insts
classical
subroutines
scope
directives
standard_library
delays
pulses
openpulse