Skip to content

Commit

Permalink
Merge pull request #185 from CQCL/release/0.19.0
Browse files Browse the repository at this point in the history
Release/0.19.0
  • Loading branch information
cqc-melf authored Aug 2, 2023
2 parents 0d75edf + 6af13e3 commit 1909191
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ jobs:
mkdir extensions
./build-docs -d ${GITHUB_WORKSPACE}/.github/workflows/docs/extensions/api
- name: Upload docs as artefact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: .github/workflows/docs/extensions

Expand Down
2 changes: 1 addition & 1 deletion _metadata.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__extension_version__ = "0.18.0"
__extension_version__ = "0.19.0"
__extension_name__ = "pytket-quantinuum"
6 changes: 6 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
~~~~~~~~~

0.19.0 (August 2023)
--------------------

* Update `FullyConnected` Architecture to label Node with "q", matching
compilation by `FlattenRelabelRegistersPass`.

0.18.0 (July 2023)
------------------

Expand Down
2 changes: 1 addition & 1 deletion pytket/extensions/quantinuum/backends/quantinuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def _dict_to_backendinfo(cls, dct: Dict[str, Any]) -> BackendInfo:
name=cls.__name__,
device_name=name,
version=__extension_version__,
architecture=FullyConnected(n_qubits, "node"),
architecture=FullyConnected(n_qubits, "q"),
gate_set=_get_gateset(gate_set),
n_cl_reg=n_cl_reg,
supports_fast_feedforward=True,
Expand Down
2 changes: 1 addition & 1 deletion tests/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pytest-timeout ~= 1.4.2
hypothesis
requests_mock
llvmlite ~= 0.40.0
pytket-qir == 0.2.0rc11
pytket-qir == 0.2.0rc14
pytest-rerunfailures
4 changes: 1 addition & 3 deletions tests/unit/api1_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,7 @@ def test_available_devices(
backinfo = devices[0]

assert backinfo.device_name == mock_machine_info["name"]
assert backinfo.architecture == FullyConnected(
mock_machine_info["n_qubits"], "node"
)
assert backinfo.architecture == FullyConnected(mock_machine_info["n_qubits"], "q")
assert backinfo.version == __extension_version__
assert backinfo.supports_fast_feedforward == True
assert backinfo.supports_midcircuit_measurement == True
Expand Down

0 comments on commit 1909191

Please sign in to comment.