Skip to content

Commit fbdc53e

Browse files
committed
Pre-release for 0.8.1
2 parents 746ca3d + 94ccb0a commit fbdc53e

File tree

57 files changed

+1362
-368
lines changed

Some content is hidden

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

57 files changed

+1362
-368
lines changed

.github/workflows/main.yml

+30-30
Original file line numberDiff line numberDiff line change
@@ -225,36 +225,36 @@ jobs:
225225
with:
226226
name: tutorials${{ matrix.python-version }}
227227
path: docs/_build/html/artifacts/tutorials.tar.gz
228-
# - name: Run stable tutorials
229-
# env:
230-
# QISKIT_PARALLEL: False
231-
# QISKIT_DOCS_BUILD_TUTORIALS: 'always'
232-
# run: |
233-
# # clean last sphinx output
234-
# make clean_sphinx
235-
# # get current version
236-
# version=$(pip show qiskit-machine-learning | awk -F. '/^Version:/ { print substr($1,10), $2-1 }' OFS=.)
237-
# # download stable version
238-
# wget https://codeload.github.com/qiskit-community/qiskit-machine-learning/zip/stable/$version -O /tmp/repo.zip
239-
# unzip /tmp/repo.zip -d /tmp/
240-
# # copy stable tutorials to main tutorials
241-
# cp -R /tmp/qiskit-machine-learning-stable-$version/docs/tutorials/* docs/tutorials
242-
# # run tutorials and zip results
243-
# echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
244-
# # ignore unreleased/untagged notes
245-
# tools/ignore_untagged_notes.sh
246-
# make html
247-
# cd docs/_build/html
248-
# mkdir artifacts
249-
# tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .
250-
# if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
251-
# shell: bash
252-
# - name: Run upload stable tutorials
253-
# uses: actions/upload-artifact@v4
254-
# with:
255-
# name: tutorials-stable${{ matrix.python-version }}
256-
# path: docs/_build/html/artifacts/tutorials.tar.gz
257-
# if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
228+
- name: Run stable tutorials
229+
env:
230+
QISKIT_PARALLEL: False
231+
QISKIT_DOCS_BUILD_TUTORIALS: 'always'
232+
run: |
233+
# clean last sphinx output
234+
make clean_sphinx
235+
# get current version
236+
version=$(pip show qiskit-machine-learning | awk -F. '/^Version:/ { print substr($1,10), $2-1 }' OFS=.)
237+
# download stable version
238+
wget https://codeload.github.com/qiskit-community/qiskit-machine-learning/zip/stable/$version -O /tmp/repo.zip
239+
unzip /tmp/repo.zip -d /tmp/
240+
# copy stable tutorials to main tutorials
241+
cp -R /tmp/qiskit-machine-learning-stable-$version/docs/tutorials/* docs/tutorials
242+
# run tutorials and zip results
243+
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
244+
# ignore unreleased/untagged notes
245+
tools/ignore_untagged_notes.sh
246+
make html
247+
cd docs/_build/html
248+
mkdir artifacts
249+
tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .
250+
if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
251+
shell: bash
252+
- name: Run upload stable tutorials
253+
uses: actions/upload-artifact@v4
254+
with:
255+
name: tutorials-stable${{ matrix.python-version }}
256+
path: docs/_build/html/artifacts/tutorials.tar.gz
257+
if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
258258
Deprecation_Messages_and_Coverage:
259259
needs: [Checks, MachineLearning, Tutorials]
260260
runs-on: ubuntu-latest

.mergify.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
queue_rules:
22
- name: automerge
3-
conditions:
4-
- check-success=Deprecation_Messages_and_Coverage (3.9)
5-
6-
pull_request_rules:
7-
- name: automatic merge on CI success and review
8-
conditions:
3+
queue_conditions:
94
- check-success=Deprecation_Messages_and_Coverage (3.9)
105
- "#approved-reviews-by>=1"
116
- label=automerge
127
- label!=on hold
13-
actions:
14-
queue:
15-
name: automerge
16-
method: squash
8+
merge_conditions:
9+
- check-success=Deprecation_Messages_and_Coverage (3.9)
10+
merge_method: squash
11+
12+
pull_request_rules:
1713
- name: backport
1814
conditions:
1915
- label=stable backport potential
2016
actions:
2117
backport:
2218
branches:
23-
- stable/0.7
19+
- stable/0.8
20+
- name: automatic merge on CI success and review
21+
conditions: []
22+
actions:
23+
queue:

.pylintdict

+2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ dp
123123
dt
124124
125125
eda
126+
edaspy
126127
egger
127128
eigen
128129
eigenphase
@@ -576,6 +577,7 @@ vatan
576577
vec
577578
vectorized
578579
veeravalli
580+
vicente
579581
vicentini
580582
vigo
581583
ville
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. _qiskit-machine-learning-gradients:
2+
3+
.. automodule:: qiskit_machine_learning.gradients
4+
:no-members:
5+
:no-inherited-members:
6+
:no-special-members:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. _qiskit-machine-learning-optimizers:
2+
3+
.. automodule:: qiskit_machine_learning.optimizers
4+
:no-members:
5+
:no-inherited-members:
6+
:no-special-members:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. _qiskit-machine-learning-state_fidelities:
2+
3+
.. automodule:: qiskit_machine_learning.state_fidelities
4+
:no-members:
5+
:no-inherited-members:
6+
:no-special-members:

0 commit comments

Comments
 (0)