Skip to content

Commit

Permalink
Increment version number to v0.11 (#102)
Browse files Browse the repository at this point in the history
* Increment version number to v0.11

* test
  • Loading branch information
josh146 authored Aug 18, 2020
1 parent ca61424 commit f336b57
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/PennyLaneAI/pennylane.git
pip install -r requirements.txt
pip install wheel pytest pytest-cov pytest-mock --upgrade
Expand Down Expand Up @@ -65,7 +64,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/PennyLaneAI/pennylane.git
pip install -r requirements.txt
pip install wheel pytest pytest-cov pytest-mock flaky --upgrade
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Upload
on:
release:
types: [created]

jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Build and install Plugin
run: |
python -m pip install --upgrade pip wheel
python setup.py bdist_wheel
pip install dist/PennyLane*.whl
- name: Install test dependencies
run: |
pip install wheel pytest pytest-cov pytest-mock --upgrade
- name: Run tests
run: |
python -m pytest tests --tb=native
- name: Publish
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI }}
26 changes: 23 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,39 @@
# Release 0.10.0-dev
# Release 0.11.0

### New features since last release

### Breaking changes
* Qiskit devices now support custom wire labels.
[(#99)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/99)
[(#100)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/100)

One can now specify any string or number as a custom wire label,
and use these labels to address subsystems on the device:

```python
dev = qml.device('qiskit.ibmq', wires=['q1', 'ancilla', 0, 1])

def circuit():
qml.Hadamard(wires='q1')
qml.CNOT(wires=[1, 'ancilla'])
```

### Improvements

### Documentation
* Adds support for Qiskit v0.20.
[(#101)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/101)

### Bug fixes

* When converting QASM or Qiskit circuit to PennyLane templates, the `CU1` gate
is now natively supported and converted to a `QubitUnitary`.
[(#101)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/101)

### Contributors

This release contains contributions from (in alphabetical order):

Maria Schuld, Antal Száva

---

# Release 0.9.0
Expand Down
2 changes: 1 addition & 1 deletion pennylane_qiskit/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.10.0-dev"
__version__ = "0.11.0"
2 changes: 1 addition & 1 deletion pennylane_qiskit/qiskit_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class QiskitDevice(QubitDevice, abc.ABC):
"""
name = "Qiskit PennyLane plugin"
pennylane_requires = ">=0.11.0"
version = "0.9.0"
version = "0.11.0"
plugin_version = __version__
author = "Xanadu"

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
qiskit>=0.20
pennylane>=0.9.0
pennylane>=0.11.0
numpy
networkx>=2.2;python_version>'3.5'
networkx>=2.2,<2.4;python_version=='3.5'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

requirements = [
"qiskit>=0.20",
"pennylane>=0.9.0",
"pennylane>=0.11.0",
"numpy",
"networkx>=2.2;python_version>'3.5'",
# Networkx 2.4 is the final version with python 3.5 support.
Expand Down

0 comments on commit f336b57

Please sign in to comment.