Skip to content

Commit

Permalink
Deploying to main from @ openqasm/openqasm@23430f0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
levbishop committed May 15, 2024
1 parent 47ad07a commit 46c2cd8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 72 deletions.
1 change: 1 addition & 0 deletions _sources/release_notes.rst.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.. release-notes:: Release Notes
:relnotessubdir: spec_releasenotes/releasenotes
7 changes: 1 addition & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,12 @@ <h1>OpenQASM Live Specification<a class="headerlink" href="#openqasm-version-spe
</li>
<li class="toctree-l1"><a class="reference internal" href="grammar/index.html">OpenQasm 3.0 Grammar</a></li>
<li class="toctree-l1"><a class="reference internal" href="release_notes.html">Release Notes</a><ul>
<li class="toctree-l2"><a class="reference internal" href="release_notes.html#ast-py-v0-5-0-36">ast-py/v0.5.0-36</a><ul>
<li class="toctree-l2"><a class="reference internal" href="release_notes.html#release-notes-0-0-0">0.0.0</a><ul>
<li class="toctree-l3"><a class="reference internal" href="release_notes.html#new-features">New Features</a></li>
<li class="toctree-l3"><a class="reference internal" href="release_notes.html#upgrade-notes">Upgrade Notes</a></li>
<li class="toctree-l3"><a class="reference internal" href="release_notes.html#bug-fixes">Bug Fixes</a></li>
<li class="toctree-l3"><a class="reference internal" href="release_notes.html#other-notes">Other Notes</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="release_notes.html#ast-py-v0-4-0">ast-py/v0.4.0</a><ul>
<li class="toctree-l3"><a class="reference internal" href="release_notes.html#release-notes-ast-py-v0-4-0-upgrade-notes">Upgrade Notes</a></li>
</ul>
</li>
</ul>
</li>
</ul>
Expand Down
Binary file modified objects.inv
Binary file not shown.
77 changes: 12 additions & 65 deletions release_notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,78 +34,23 @@

<section id="release-notes">
<h1>Release Notes<a class="headerlink" href="#release-notes" title="Link to this heading"></a></h1>
<section id="ast-py-v0-5-0-36">
<span id="release-notes-ast-py-v0-5-0-36"></span><h2>ast-py/v0.5.0-36<a class="headerlink" href="#ast-py-v0-5-0-36" title="Link to this heading"></a></h2>
<section id="release-notes-0-0-0">
<span id="id1"></span><h2>0.0.0<a class="headerlink" href="#release-notes-0-0-0" title="Link to this heading"></a></h2>
<section id="new-features">
<span id="release-notes-ast-py-v0-5-0-36-new-features"></span><h3>New Features<a class="headerlink" href="#new-features" title="Link to this heading"></a></h3>
<span id="release-notes-0-0-0-new-features"></span><h3>New Features<a class="headerlink" href="#new-features" title="Link to this heading"></a></h3>
<ul class="simple">
<li><p>Added CI support for ensuring contributions include a release note.
If this is not desired for a PR the tag “no-reno” may be added to the
PR.</p></li>
</ul>
<ul class="simple">
<li><p>Added <cite>openqasm3.spec.supported_versions</cite> which lists the OpenQASM specification
versions supported by the <cite>openqasm3</cite> package. Currently the supported versions
are 3.0 and 3.1. In future, additional information on the supported specifications
may be added to <cite>openqasm3.spec</cite>.</p></li>
</ul>
<ul class="simple">
<li><p>The standard-library file <code class="docutils literal notranslate"><span class="pre">stdgates.inc</span></code> is now <a class="reference internal" href="language/standard_library.html#standard-library"><span class="std std-ref">formally documented in the specification</span></a>.
Its effects match how it was described in the initial paper, and it was always intended to
be part of the formal specification.</p></li>
</ul>
<ul class="simple">
<li><p>Added support for switch statements, allowing for compact description of multi-way
branches that depend on a common control expression.</p></li>
</ul>
</section>
<section id="upgrade-notes">
<span id="release-notes-ast-py-v0-5-0-36-upgrade-notes"></span><h3>Upgrade Notes<a class="headerlink" href="#upgrade-notes" title="Link to this heading"></a></h3>
<span id="release-notes-0-0-0-upgrade-notes"></span><h3>Upgrade Notes<a class="headerlink" href="#upgrade-notes" title="Link to this heading"></a></h3>
<ul class="simple">
<li><p>Improve physical qubit documentation. Define what constitutes a valid
physical identifier, define physical circuits, and answer several questions
about what a compiler may do with physical qubits.</p></li>
</ul>
</section>
<section id="bug-fixes">
<span id="release-notes-ast-py-v0-5-0-36-bug-fixes"></span><h3>Bug Fixes<a class="headerlink" href="#bug-fixes" title="Link to this heading"></a></h3>
<ul class="simple">
<li><p>The language specification requires that the type of a loop variable in a
<cite>for</cite> loop be declared. However a few examples of <cite>for</cite> loops lacked these
declarations. These examples have been fixed to include type declarations
on these loop variables.</p></li>
</ul>
<ul class="simple">
<li><p>The section on classical instructions now lists the associativity of all operators in the
precedence table, and correctly identifies the power operator as being right-associative. The
previous description of the precedence and associativity was at best imprecise.</p></li>
</ul>
<ul class="simple">
<li><p>Fixed mistaken <code class="docutils literal notranslate"><span class="pre">qubit</span></code> declarations in broadcasting code example.</p></li>
</ul>
<ul class="simple">
<li><p>Corrected the sample definitions of square-root gates involving <code class="docutils literal notranslate"><span class="pre">pow</span></code> in the <code class="docutils literal notranslate"><span class="pre">stdgates.inc</span></code>
example file to use floating-point value <code class="docutils literal notranslate"><span class="pre">0.5</span></code> instead of integer division <code class="docutils literal notranslate"><span class="pre">1/2</span></code>.</p></li>
</ul>
<ul class="simple">
<li><p>Remove <cite>include “stdgates.qasm”;</cite> from an example in the specification. This
file name has no special significance. This line could easily be confused
with <cite>include “stdgates.inc”;</cite>, which is the only specified method of
including gate definitions from the standard library.</p></li>
</ul>
</section>
<section id="other-notes">
<span id="release-notes-ast-py-v0-5-0-36-other-notes"></span><h3>Other Notes<a class="headerlink" href="#other-notes" title="Link to this heading"></a></h3>
<ul class="simple">
<li><p>The keywords <code class="docutils literal notranslate"><span class="pre">switch</span></code>, <code class="docutils literal notranslate"><span class="pre">case</span></code>, and <code class="docutils literal notranslate"><span class="pre">default</span></code> are no longer reserved
by the spec for future expansion of the language.</p></li>
</ul>
</section>
</section>
<section id="ast-py-v0-4-0">
<span id="release-notes-ast-py-v0-4-0"></span><h2>ast-py/v0.4.0<a class="headerlink" href="#ast-py-v0-4-0" title="Link to this heading"></a></h2>
<section id="release-notes-ast-py-v0-4-0-upgrade-notes">
<span id="id1"></span><h3>Upgrade Notes<a class="headerlink" href="#release-notes-ast-py-v0-4-0-upgrade-notes" title="Link to this heading"></a></h3>
<ul class="simple">
<li><p>The “wildcard” identifiers in pulse grammars are now regular OpenQASM 3
identifiers, without the leading dollar sign (<code class="docutils literal notranslate"><span class="pre">$</span></code>), <em>e.g.</em> what was <code class="docutils literal notranslate"><span class="pre">$q</span></code>
Expand All @@ -115,6 +60,13 @@ <h1>Release Notes<a class="headerlink" href="#release-notes" title="Link to this
applied to any qubit already.</p></li>
</ul>
</section>
<section id="other-notes">
<span id="release-notes-0-0-0-other-notes"></span><h3>Other Notes<a class="headerlink" href="#other-notes" title="Link to this heading"></a></h3>
<ul class="simple">
<li><p>The keywords <code class="docutils literal notranslate"><span class="pre">switch</span></code>, <code class="docutils literal notranslate"><span class="pre">case</span></code>, and <code class="docutils literal notranslate"><span class="pre">default</span></code> are no longer reserved
by the spec for future expansion of the language.</p></li>
</ul>
</section>
</section>
</section>

Expand All @@ -140,17 +92,12 @@ <h3>Navigation</h3>
<li class="toctree-l1"><a class="reference internal" href="language/index.html">Language</a></li>
<li class="toctree-l1"><a class="reference internal" href="grammar/index.html">OpenQasm 3.0 Grammar</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Release Notes</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#ast-py-v0-5-0-36">ast-py/v0.5.0-36</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#release-notes-0-0-0">0.0.0</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#new-features">New Features</a></li>
<li class="toctree-l3"><a class="reference internal" href="#upgrade-notes">Upgrade Notes</a></li>
<li class="toctree-l3"><a class="reference internal" href="#bug-fixes">Bug Fixes</a></li>
<li class="toctree-l3"><a class="reference internal" href="#other-notes">Other Notes</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#ast-py-v0-4-0">ast-py/v0.4.0</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#release-notes-ast-py-v0-4-0-upgrade-notes">Upgrade Notes</a></li>
</ul>
</li>
</ul>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 46c2cd8

Please sign in to comment.