Skip to content

Commit c3e4977

Browse files
raynelfssbeckykdeliarbelCryorismtreinish
authored
Prepare 2.2.0 release (#14995)
* Initial: Some fixes to release notes. * Docs: Fix release-notes for fix-dimacs-load and min-qpy-version * Fix format or release notes and some docs. - Fix incorrect argument in `qk_transpile` function. - Fixed more missed links from the c-api, temporarily linked with `:cpp:func:`. - Other small tweaks. * Fix: Review comments from copy editing Co-authored-by: Rebecca Dimock <[email protected]> * Add: C-API Standalone passes release note - Remove all of the standalone C API pass release notes. * Fix: Update cargo packages * Add: Prelude note * Edit release notes not in the PR diff * Fix: More release notes fixes Co-authored-by: Julien Gacon <[email protected]> Co-authored-by: Eli Arbel <[email protected]> * Fix: Upgrade version to 2.2.0 * Fix: Null string not displayed correctly in linux. * Fix: Second attempt to fix versioning. * Fix: Move more release notes. * Fix: Dead links and remove one stale release note. * Fix: Remove old release ntoes, fix prelude. * Fix: Add corrections to cbingen usize release note Co-authored-by: Matthew Treinish <[email protected]> * Fix: Use double tick. * More Release note fixes * Fix indent in prelude release note --------- Co-authored-by: Rebecca Dimock <[email protected]> Co-authored-by: Eli Arbel <[email protected]> Co-authored-by: Julien Gacon <[email protected]> Co-authored-by: Eli Arbel <[email protected]> Co-authored-by: Matthew Treinish <[email protected]>
1 parent cad4474 commit c3e4977

File tree

50 files changed

+251
-319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+251
-319
lines changed

Cargo.lock

Lines changed: 109 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["crates/*"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "2.2.0-rc1"
6+
version = "2.2.0"
77
edition = "2021"
88
rust-version = "1.85" # Keep in sync with README.md, rust-toolchain.toml, and tools/install_rust_msrv.sh
99
license = "Apache-2.0"

crates/cext/cbindgen.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ after_includes = """
2020
#define QISKIT_VERSION_MAJOR 2
2121
#define QISKIT_VERSION_MINOR 2
2222
#define QISKIT_VERSION_PATCH 0
23-
#define QISKIT_RELEASE_LEVEL QISKIT_RELEASE_LEVEL_RC
24-
#define QISKIT_RELEASE_SERIAL 1 // for the final release, this should be 0
23+
#define QISKIT_RELEASE_LEVEL QISKIT_RELEASE_LEVEL_FINAL
24+
#define QISKIT_RELEASE_SERIAL 0 // for the final release, this should be 0
2525
26-
#define QISKIT_VERSION "2.2.0rc1"
26+
#define QISKIT_VERSION "2.2.0"
2727
2828
#define QISKIT_GET_VERSION_HEX(major, minor, patch, level, serial) (\
2929
(major & 0xff) << 24 | \

crates/cext/src/transpiler/transpile_function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub extern "C" fn qk_transpiler_default_options() -> TranspileOptions {
8888
/// number of threads with the ``RAYON_NUM_THREADS`` environment variable. For example, setting
8989
/// ``RAYON_NUM_THREADS=4`` would limit the thread pool to 4 threads.
9090
///
91-
/// @param circuit A pointer to the circuit to run the transpiler on.
91+
/// @param qc A pointer to the circuit to run the transpiler on.
9292
/// @param target A pointer to the target to compile the circuit for.
9393
/// @param options A pointer to an options object that defines user options. If this is a null
9494
/// pointer the default values will be used. See ``qk_transpile_default_options``

docs/cdoc/qk-transpiler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
QkTranspiler
33
============
44

5-
The :c:func:`qk_transpile` function exposes Qiskit's tranpsiler (:py:mod:`qiskit.transpiler`) to C.
5+
The :cpp:func:`qk_transpile` function lets C access the Qiskit tranpsiler (:py:mod:`qiskit.transpiler`).
66
The basic functionality is using the same underlying code as the Python-space version, but the transpiler as
77
exposed to C has more limitations than what is exposed to Python. The transpiler
88
assumes a circuit built constructed using solely the C API and is intended to

docs/cdoc/qk-vf2-layout-result.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ QkVF2LayoutResult
66
77
typedef struct QkVF2LayoutResult QkVF2LayoutResult
88
9-
When running the ``qk_transpiler_pass_standalone_vf2_layout`` function it returns its analysis
9+
When running the :cpp:func:`qk_transpiler_pass_standalone_vf2_layout` function it returns its analysis
1010
result as a ``QkVF2LayoutResult`` object. This object contains the outcome of the transpiler pass,
1111
whether the pass was able to find a layout or not, and what the layout selected by the pass was.
1212

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# The short X.Y version
3333
version = "2.2"
3434
# The full version, including alpha/beta/rc tags
35-
release = "2.2.0rc1"
35+
release = "2.2.0"
3636

3737
language = "en"
3838

qiskit/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.0rc1
1+
2.2.0
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
features_c:
3+
- |
4+
Added new standalone transpiler pass functions to the C API. These functions take in a ``QkCircuit``
5+
to run the pass on and are equivalent to calling an instantiated pass.
6+
7+
========================================== =============================================================================
8+
Transpiler pass C API Counterpart
9+
========================================== =============================================================================
10+
:class:`.BasisTranslator` :cpp:func:`qk_transpiler_pass_standalone_basis_translator`
11+
:class:`.CommutativeCancellation` :cpp:func:`qk_transpiler_pass_standalone_commutative_cancellation`
12+
:class:`.ConsolidateBlocks` :cpp:func:`qk_transpiler_pass_standalone_consolidate_blocks`
13+
:class:`.ElidePermutations` :cpp:func:`qk_transpiler_pass_standalone_elide_permutations`
14+
:class:`.CheckGateDirection` :cpp:func:`qk_transpiler_pass_standalone_check_gate_direction`
15+
:class:`.GateDirection` :cpp:func:`qk_transpiler_pass_standalone_gate_direction`
16+
:class:`.InverseCancellation` :cpp:func:`qk_transpiler_pass_standalone_inverse_cancellation`
17+
:class:`.Optimize1qGatesDecomposition` :cpp:func:`qk_transpiler_standalone_optimize_1q_sequences`
18+
:class:`.RemoveDiagonalGatesBeforeMeasure` :cpp:func:`qk_transpiler_pass_standalone_remove_diagonal_gates_before_measure`
19+
:class:`.RemoveIdentityEquivalent` :cpp:func:`qk_transpiler_pass_standalone_remove_identity_equivalent`
20+
:class:`.SabreLayout` :cpp:func:`qk_transpiler_pass_standalone_sabre_layout`
21+
:class:`.Split2QUnitaries` :cpp:func:`qk_transpiler_pass_standalone_split_2q_unitaries`
22+
:class:`.UnitarySynthesis` :cpp:func:`qk_transpiler_pass_standalone_unitary_synthesis`
23+
:class:`.VF2Layout` :cpp:func:`qk_transpiler_pass_standalone_vf2_layout`
24+
========================================== =============================================================================

releasenotes/notes/2.2/add-inverse-cancellation-to-c-5e48ba7ceff2e80c.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)