Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare release notes for Qiskit Terra 0.19 (#7329)
* Move 0.19 release notes into subdirectory * Add missing objects to imports and API docs A few objects added in new features for the 0.19 cycle did not get added into higher-level `__init__` files, either as imports or documentation links. This adds several documentation links in, and fixes some cyclic imports that were previously hidden due to the objects not being fully imported. * Update incorrect deprecation notice These deprecation notices were written in a PR that was originally targetted for the 0.18 release but later got shifted to 0.19. * Reorganise pulse documentation to avoid duplication Previously, autosummary documentation files were being generated for most objects in `qiskit.pulse` in two namespaces: `qiskit.pulse` and (e.g.) `qiskit.pulse.library`. In other cases, the module-level documentation was not being generated at all. This moves the responsibility for defining all the definitions into the respective submodules, and turns the `qiskit.pulse` docstring into a series of `.. automodule::` calls. The relevant module docstrings are merged with any content that was already in the `qiskit.pulse` docstring, to ensure that the displayed documentation on the `qiskit.pulse` page is almost identical to what it was before. Various Sphinx crossreferences within the `pulse` module (and referring to it from elsewhere) were previously broken, in part because of the duplication. It should be more reliable when creating crossreferences now. The abstract base classes are also added in `.. autoclass::` calls in suitable locations, since they are a common source of failed Sphinx crossreferences elsewhere. (It's easy to accidentally get the duplication when using `autosummary`. If it does need to be used on more than one page, then only the canonical path should use the `:toctree:` directive. Pulse also had more of this than other places because it's generally a bit more thoroughly documented.) * Reformat 0.19 release notes This reformats the release notes for Terra 0.19, canonicalising the style and ensuring that all Sphinx crossreferences link correctly. In some cases there is no suitable target for documentation (especially in the case of removals), so these are left as simple monospaced font. * Fix typo Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * Clarify ExactReciprocal documentation * Fix docs warning * Move backend V2 note * Move RZX calibration release note * Revert restrictions filetypes in text drawer These were added in gh-6487. In general, there is no reason to enforce that text must go into a file with a `.txt` extension; the extension is a rather Windows-specific convention, and not necessary. * Remove release notes already included in 0.18 backports * Correct future warning in pauli_basis * Rewrite release notes Also rejig a type hint that Sphinx always attempted to resolve. Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * Add 0.19 release prelude * Remove unused import * Updated grover reno * Update releasenotes/notes/0.19/qaoa-parameters-49e4524ed2d3e875.yaml * Update release notes Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * Move another merged release note * spelling * Fix typos in documentation Co-authored-by: Luciano Bello <bel@zurich.ibm.com> * Reformat new release notes * Update QASM3 note with new features This adds some information on how the QASM 3 exporter works with the new control-flow constructs, and removes the line saying it works with ``defcal``. The latter is because we do not actually support this; we can recognise "opaque" gates, but we can't emit anything sensible for them, so we currently just fail loudly with a suitable error. * Add BaseReadoutMitigator to documentation * Updates from Luciano Co-authored-by: Luciano Bello <bel@zurich.ibm.com> * Update BasisTranslator release note * Add an invisible code block * Rewrite PulseGate pass release note * Update release notes Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * Remove note about type hints * Fix PulseGate typos * Revert default import of rzx_templates This was made in order to simplify some import paths, but as a side effect it caused ten `QuantumCircuit`s to be created on import of `qiskit`, which spoiled the QPY backwards compatibility tests and likely had import performance implications. The import of this likely should not need to create circuits, but for now, we revert its import rather than making a change this close to release. Co-authored-by: Matthew Treinish <mtreinish@kortar.org> Co-authored-by: Abby-Mitchell <abby.mitchell@btinternet.com> Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
- Loading branch information