Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating qiskit_algorithms #817

Merged
merged 69 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
009c399
Update README.md
FrancescaSchiav Feb 29, 2024
5096546
Merge branch 'qiskit-community:main' into main
OkuyanBoga Mar 1, 2024
32219fb
Generalize the Einstein summation signature
edoaltamura Mar 14, 2024
17d8c33
Add reno
edoaltamura Mar 15, 2024
d6f688d
Update Copyright
edoaltamura Mar 15, 2024
034785b
Rename and add test
edoaltamura Mar 20, 2024
04b886d
Update Copyright
edoaltamura Mar 20, 2024
11cde5f
Merge branch 'qiskit-community:main' into main
OkuyanBoga Apr 3, 2024
aea890d
Merge pull request #18 from OkuyanBoga/torch_issue716
OkuyanBoga Apr 3, 2024
7b2e9be
Add docstring for `test_get_einsum_signature`
edoaltamura Apr 3, 2024
6a8a136
Correct spelling
edoaltamura Apr 3, 2024
31a826e
Disable spellcheck for comments
edoaltamura Apr 3, 2024
5b4f617
Add `docstring` in pylint dict
edoaltamura Apr 3, 2024
b0d0590
Delete example in docstring
edoaltamura Apr 3, 2024
240d02f
Add Einstein in pylint dict
edoaltamura Apr 3, 2024
f8c32dd
Add full use case in einsum dict
edoaltamura Apr 8, 2024
34322b2
Spelling and type ignore
edoaltamura Apr 8, 2024
94ec48c
Spelling and type ignore
edoaltamura Apr 8, 2024
16c8454
Spelling and type ignore
edoaltamura Apr 8, 2024
00130f2
Spelling and type ignore
edoaltamura Apr 8, 2024
e045c16
Spelling and type ignore
edoaltamura Apr 8, 2024
22d94ce
Remove for loop in einsum function and remove Literal arguments (1/2)
edoaltamura Apr 24, 2024
95dd9df
Remove for loop in einsum function and remove Literal arguments (1/2)
edoaltamura Apr 24, 2024
4cbf0c3
Remove for loop in einsum function and remove Literal arguments (2/2)
edoaltamura Apr 24, 2024
c4dca19
Update RuntimeError msg
edoaltamura Apr 30, 2024
d5ed96b
Update RuntimeError msg - line too long
edoaltamura Apr 30, 2024
d6f3d47
Trigger CI
edoaltamura May 2, 2024
5ed6345
Merge branch 'main' into main
edoaltamura May 2, 2024
9ccc3a2
Merge branch 'qiskit-community:main' into main
edoaltamura Jun 7, 2024
3f669b0
Merge branch 'qiskit-community:main' into main
edoaltamura Jun 19, 2024
3846d4d
Merge algos, globals.random to fix
edoaltamura Jul 11, 2024
070aa81
Fixed `algorithms_globals`
edoaltamura Jul 11, 2024
ddc160f
Import /tests and run CI locally
edoaltamura Jul 11, 2024
c5a55ad
Fix copyrights and some spellings
edoaltamura Jul 11, 2024
f4d49eb
Ignore mypy in 8 instances
edoaltamura Jul 18, 2024
2d1209f
Merge spell dicts
edoaltamura Jul 29, 2024
2735810
Black reformatting
edoaltamura Jul 29, 2024
840c270
Black reformatting
edoaltamura Jul 31, 2024
c2f726a
Add reno
edoaltamura Jul 31, 2024
cf2d6b0
Merge remote-tracking branch 'origin/main' into migrate-algo
edoaltamura Jul 31, 2024
5976830
Lint sanitize
edoaltamura Jul 31, 2024
5e07acc
Pylint
edoaltamura Jul 31, 2024
b997bb0
Pylint
edoaltamura Jul 31, 2024
c464459
Pylint
edoaltamura Jul 31, 2024
51610a1
Pylint
edoaltamura Jul 31, 2024
c42688c
Fix relative imports in tutorials
edoaltamura Jul 31, 2024
db9b03f
Fix relative imports in tutorials
edoaltamura Jul 31, 2024
21badc4
Remove algorithms from Jupyter magic methods
edoaltamura Jul 31, 2024
e8628cc
Temporarily disable "Run stable tutorials" tests
edoaltamura Aug 1, 2024
da63c5b
Change the docstrings with imports from qiskit_algorithms
edoaltamura Aug 1, 2024
0c5825c
Styling
edoaltamura Aug 1, 2024
c0974f9
Update qiskit_machine_learning/optimizers/gradient_descent.py
edoaltamura Aug 1, 2024
7490b38
Update qiskit_machine_learning/optimizers/optimizer_utils/learning_ra…
edoaltamura Aug 1, 2024
d38154b
Add more tests for utils
edoaltamura Aug 2, 2024
fe021e9
Add more tests for optimizers: adam, bobyqa, gsls and imfil
edoaltamura Aug 2, 2024
51e3ea7
Fix random seed for volatile optimizers
edoaltamura Aug 2, 2024
fb4fc39
Fix random seed for volatile optimizers
edoaltamura Aug 2, 2024
3cb3850
Add more tests
edoaltamura Aug 2, 2024
3da9109
Pylint dict
edoaltamura Aug 2, 2024
d34c4c9
Activate scikit-quant-0.8.2
edoaltamura Aug 2, 2024
1f6ca7a
Remove scikit-quant methods
edoaltamura Aug 2, 2024
b5875a3
Remove scikit-quant methods (2)
edoaltamura Aug 2, 2024
800cca4
Edit the release notes and Qiskit version 1+
edoaltamura Aug 5, 2024
e98200a
Edit the release notes and Qiskit version 1+
edoaltamura Aug 5, 2024
f349f7c
Add Qiskit 1.0 upgrade in reno
edoaltamura Aug 5, 2024
154d6a7
Add Qiskit 1.0 upgrade in reno
edoaltamura Aug 5, 2024
c728400
Add Qiskit 1.0 upgrade in reno
edoaltamura Aug 5, 2024
3294731
Apply line breaks
edoaltamura Aug 6, 2024
9e53371
Restructure line breaks
edoaltamura Aug 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,36 +229,36 @@ jobs:
with:
name: tutorials${{ matrix.python-version }}
path: docs/_build/html/artifacts/tutorials.tar.gz
- name: Run stable tutorials
env:
QISKIT_PARALLEL: False
QISKIT_DOCS_BUILD_TUTORIALS: 'always'
run: |
# clean last sphinx output
make clean_sphinx
# get current version
version=$(pip show qiskit-machine-learning | awk -F. '/^Version:/ { print substr($1,10), $2-1 }' OFS=.)
# download stable version
wget https://codeload.github.com/qiskit-community/qiskit-machine-learning/zip/stable/$version -O /tmp/repo.zip
unzip /tmp/repo.zip -d /tmp/
# copy stable tutorials to main tutorials
cp -R /tmp/qiskit-machine-learning-stable-$version/docs/tutorials/* docs/tutorials
# run tutorials and zip results
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
# ignore unreleased/untagged notes
tools/ignore_untagged_notes.sh
make html
cd docs/_build/html
mkdir artifacts
tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .
if: ${{ matrix.python-version == 3.8 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
shell: bash
- name: Run upload stable tutorials
uses: actions/upload-artifact@v4
with:
name: tutorials-stable${{ matrix.python-version }}
path: docs/_build/html/artifacts/tutorials.tar.gz
if: ${{ matrix.python-version == 3.8 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
# - name: Run stable tutorials
# env:
# QISKIT_PARALLEL: False
# QISKIT_DOCS_BUILD_TUTORIALS: 'always'
# run: |
# # clean last sphinx output
# make clean_sphinx
# # get current version
# version=$(pip show qiskit-machine-learning | awk -F. '/^Version:/ { print substr($1,10), $2-1 }' OFS=.)
# # download stable version
# wget https://codeload.github.com/qiskit-community/qiskit-machine-learning/zip/stable/$version -O /tmp/repo.zip
# unzip /tmp/repo.zip -d /tmp/
# # copy stable tutorials to main tutorials
# cp -R /tmp/qiskit-machine-learning-stable-$version/docs/tutorials/* docs/tutorials
# # run tutorials and zip results
# echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
# # ignore unreleased/untagged notes
# tools/ignore_untagged_notes.sh
# make html
# cd docs/_build/html
# mkdir artifacts
# tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .
# if: ${{ matrix.python-version == 3.8 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
# shell: bash
# - name: Run upload stable tutorials
# uses: actions/upload-artifact@v4
# with:
# name: tutorials-stable${{ matrix.python-version }}
# path: docs/_build/html/artifacts/tutorials.tar.gz
# if: ${{ matrix.python-version == 3.8 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
Deprecation_Messages_and_Coverage:
needs: [Checks, MachineLearning, Tutorials]
runs-on: ubuntu-latest
Expand Down
Loading
Loading