Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
faf79c8
fork to certification
plewandowska777 Apr 5, 2023
a135740
jupyter-notebook with usage pyqbench as library using certification …
plewandowska777 Apr 10, 2023
eaed5f9
Update README.md
plewandowska777 Apr 10, 2023
084c27c
consideretion of plotting functionalities
plewandowska777 Apr 10, 2023
a8253f8
Merge branch 'master' of github.com:plewandowska777/PyQBench
plewandowska777 Apr 10, 2023
9530fde
fix benchmark asynch
plewandowska777 Apr 25, 2023
f3574bd
fix job retrieval
plewandowska777 May 3, 2023
6662534
probability distribution m3
plewandowska777 May 3, 2023
165c2d6
Merge branch 'master' of github.com:plewandowska777/PyQBench
MartinBeseda May 15, 2024
cd2a9d2
[WIP] Getting qbench/fourier/experiment_runner.py working with curren…
MartinBeseda May 19, 2024
1e5b7a0
[WIP] [FIX] Fixing qbench/fourier/experiment_runner.py to be compatib…
MartinBeseda May 19, 2024
ea85c0d
[FIX] Fixed packages imports for qbench/fourier_cerification/experime…
MartinBeseda May 22, 2024
a1c6e59
[FIX] Added qiskit-ibm-runtime dependency.
MartinBeseda May 27, 2024
e7e5e86
[NEW] Added Conda env file.
MartinBeseda May 27, 2024
fa9c8e7
[FIX] [WIP] Fixing the code structure, so that 'qbench' can be used a…
MartinBeseda Jun 12, 2024
287a3ed
[WIP] [FIX] Fixed minor problems with fourier_certification package t…
MartinBeseda Jun 12, 2024
d4cea53
[FIX] YAML env updated.
MartinBeseda Jun 13, 2024
6ec3375
[WIP] Added a possibility of using a local Aer Simulator for Fourier …
MartinBeseda Aug 25, 2024
a595ffd
[FIX] Cleansed the code from unnecessary comments.
MartinBeseda Aug 25, 2024
4e3abd7
[ENH] Added 'res.yml' to .gitignore.
MartinBeseda Sep 1, 2024
7551060
[ENH] Added 'brisbane' and 'kyiv' IBM backend configurations.
MartinBeseda Sep 1, 2024
ca04b52
[FIX] Added missing circuit transpilation and backend specification b…
MartinBeseda Sep 1, 2024
b3436ae
[ENH] Added frequent output filenames to gitignore.
MartinBeseda Sep 1, 2024
572325c
[FIX] Fixed obtaining of job information by its ID.
MartinBeseda Sep 1, 2024
1793e77
[FIX] Added 'pydantic.v1' package to environment.yml and pyproject.yml.
MartinBeseda Sep 2, 2024
10955aa
[FIX] Fix Conda environment YAML file and dependencies in pyproject.t…
MartinBeseda Sep 4, 2024
0501ca5
[ENH] Added two examples for discrimination.
MartinBeseda Sep 12, 2024
fbcd1d5
[FIX] Fixed an obsolete Qiskit method names. Added a necessary circui…
MartinBeseda Sep 12, 2024
7871712
[FIX] Fixed incorrect parameters passed to retrieve_jobs().
MartinBeseda Sep 12, 2024
3962106
[FIX] Increased the number of shots to 100 in the direct sum discrimi…
MartinBeseda Sep 12, 2024
3d02421
[FIX] Fixed Hadamard example.
MartinBeseda Sep 20, 2024
481aad3
[ENH] Removed an obsolete docstring.
MartinBeseda Sep 20, 2024
becba72
[FIX] [WIP] Fix non-working imports and account logging.
MartinBeseda Sep 20, 2024
9b58388
[FIX] Fixed Hadamard example
MartinBeseda Sep 23, 2024
28df8e7
[FIX] Fixed job name retrieval.
MartinBeseda Sep 23, 2024
62980a1
[WIP] [FIX] Fixing automated tests. ASW and Rigetti support is curren…
MartinBeseda Sep 23, 2024
f7fc34e
[FIX] Fixed problems with some automated test providing ValidationErr…
MartinBeseda Oct 2, 2024
9867136
[FIX] Added missing examples.
MartinBeseda Oct 2, 2024
5e91691
[WIP] [FIX] Fixed some automated tests.
MartinBeseda Oct 3, 2024
1fa73a9
[WIP] [FIX] Fixed multiple automated tests.
MartinBeseda Oct 3, 2024
53db9b0
new configuration
plewandowska777 Nov 8, 2024
30ac2f9
Merge branch 'master' of github.com:MartinBeseda/PyQBench
plewandowska777 Nov 8, 2024
fa140eb
hadamard experiments
plewandowska777 Jan 10, 2025
a1c944c
hadamard experiments
plewandowska777 Jan 10, 2025
581fa36
change name of functions
plewandowska777 Jan 13, 2025
420c963
name of functions
plewandowska777 Jan 13, 2025
812438d
name of functions
plewandowska777 Jan 13, 2025
eb7b318
changes name function
plewandowska777 Jan 13, 2025
1ee4558
hadamard discrimination and certification experiment
plewandowska777 Jan 13, 2025
23cab25
certification Hadamard experiment
plewandowska777 Jan 13, 2025
885aaec
hadamard
plewandowska777 Jan 13, 2025
caae627
[FIX] Fixed merge with updates from Paulina Lewandowska.
MartinBeseda Jan 13, 2025
06aa50d
[WIP] [FIX] Fourier certification fixed for the new version of qiskit…
MartinBeseda Jan 13, 2025
a9e4992
[ENH] Added a new version of Conda environment.
MartinBeseda Jan 13, 2025
99095c4
[FIX] Removed 'pyqbench' from dependencies in environment.yml.
MartinBeseda Jan 16, 2025
a2f8678
[FIX] Fixed obtaining of Fourier certification job status.
MartinBeseda Jan 17, 2025
ca68199
[FIX] Fixed obtaining discrimination job statuses.
MartinBeseda Jan 17, 2025
d3fb731
[FIX] Added cast from Enum value to 'str'.
MartinBeseda Jan 18, 2025
ae3af7b
[FIX] Fixed 'resolve' functionality.
MartinBeseda Jan 18, 2025
79d73d1
[ENH] Ignoring *.yml and *.csv files by Git.
MartinBeseda Jan 18, 2025
2d2bf04
[FIX] Fixed 'resolve' for Fourier discrimination.
MartinBeseda Jan 18, 2025
ac25aee
[FIX] Fixed problems with Jupyter notebooks. Fixed bad function name …
MartinBeseda Jan 18, 2025
6254c9f
[FIX] Fixed Jupyter notebooks and obtaining counts from qiskit_ibm_ru…
MartinBeseda Jan 18, 2025
277ae61
[WIP] [FIX] Trying to fix the method naming.
MartinBeseda Jan 18, 2025
e4b49ea
[FIX] Fixed incorrect import in Fourier discrimination.
MartinBeseda Jan 18, 2025
04aaa9b
[WIP] [FIX] Fixed incorrectly called certification method.
MartinBeseda Jan 18, 2025
db974ec
[FIX] Fixed certification postselection benchmarking.
MartinBeseda Jan 18, 2025
5353510
[FIX] Update Conda env.
MartinBeseda Feb 13, 2025
cccea0d
[FIX] Fixed typo.
MartinBeseda Feb 13, 2025
1636cee
[FIX] Added an exact (upper bound) solution to the discrimination exp…
MartinBeseda Feb 13, 2025
dad2489
[FIX] Removed 'name:u' label from the certification 'resolve' output.
MartinBeseda Feb 16, 2025
147b19e
[FIX] Fixed the statistical significance printed when running certifi…
MartinBeseda Feb 18, 2025
000abfb
[DEL] Removed some unnecessary backends from 'examples'.
MartinBeseda Mar 8, 2025
4df3cac
[DEL] Deleted results from 'examples'.
MartinBeseda Mar 8, 2025
19a7927
[ENH] Python version supported is now fixed at 3.11.
MartinBeseda Mar 8, 2025
790d2b4
[ENH] Added support for IQP_API_TOKEN OS variable.
MartinBeseda Mar 8, 2025
273f78b
[ENH] Renamed a function to 'add_fourier_certification_parser()'.
MartinBeseda Mar 8, 2025
086ecc3
[ENH] Removed commented code.
MartinBeseda Mar 8, 2025
33b7f3b
[ENH] [FIX] Moved the class FourierComponents into a separate compone…
MartinBeseda Mar 8, 2025
55d47de
[FIX] Changed Python version in run_quality_checks to ==3.11. Also fi…
MartinBeseda Mar 11, 2025
6deeead
[WIP] [FIX] Fixing automatic tests...
MartinBeseda Mar 11, 2025
17cafab
[WIP] Fixing CI tests. Removed AWS-dependent tests from PR CI workflow.
MartinBeseda Mar 23, 2025
0b784f0
[FIX] Changed version of Python to 3.11.
MartinBeseda Mar 23, 2025
8eddc9e
[WIP] [FIX] Fixing automated tests...
MartinBeseda Mar 23, 2025
c675b5b
[WIP] [ENH] Removed some automated tests requiring AWS credentials fr…
MartinBeseda Mar 24, 2025
21db078
[WIP] Deactivated tests dependent on AerSim, which will need reworkin…
MartinBeseda Mar 24, 2025
ae716d4
[WIP] [FIX] Trying to fix automated tests for Python3.11.*.
MartinBeseda Apr 10, 2025
200a523
[FIX] Re-sorted imports via "isort".
MartinBeseda Apr 14, 2025
4816e21
[FIX] Re-formatted the code with "black".
MartinBeseda Apr 14, 2025
e3f59ce
[FIX] Re-formatted import with "isort".
MartinBeseda Apr 14, 2025
46736e8
[FIX] Re-formatted files with isort, black and flake8.
MartinBeseda Apr 14, 2025
d607f0d
[WIP] [FIX] Fixing the code according to MyPy
MartinBeseda Apr 14, 2025
02aa340
[WIP] [FIX] Fixed one type 'mypy' error.
MartinBeseda Apr 19, 2025
39b2807
[FIX] Fixed mypy errors.
MartinBeseda Apr 19, 2025
dc00987
[FIX] Fixed missing dependency in pyproject.toml.
MartinBeseda May 20, 2025
45edbbf
[FIX] Added QISKIT_IBM_TOKEN reading from GitHub secrets for automate…
MartinBeseda May 22, 2025
a50a2b4
[WIP] [FIX] Fixing the GitHub workflow not taking the API key...
MartinBeseda May 22, 2025
9a8ee86
[WIP] [FIX] Limited qiskit and qiskit-ibm-runtime versions.
MartinBeseda May 22, 2025
c49e528
[WIP] [FIX] Defined reading of QISKIT_IBM_TOKEN variable in github wo…
MartinBeseda May 22, 2025
55fe6ea
[WIP] Re-defined QISKIT_IBM_TOKEN for github workflow.
MartinBeseda May 22, 2025
1d223e4
[WIP] Trying to automatize PR tests.
MartinBeseda May 22, 2025
70ec9e1
[WIP] Reverted some changes connected to QISKIT_IBM_TOKEN.
MartinBeseda May 22, 2025
c242cc5
[WIP] Fixing CI...
MartinBeseda May 22, 2025
cdf50cd
[WIP] Fixing CI
MartinBeseda May 22, 2025
cd91a14
[WIP] Fixing CI...
MartinBeseda May 22, 2025
7f126c7
[WIP] [FIX] Fixed indentation problem with quality_checks.yml.
MartinBeseda May 22, 2025
dce08f7
[FIX] [WIP] Getting CI working... Added missing checkout.
MartinBeseda May 26, 2025
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
19 changes: 8 additions & 11 deletions .github/workflows/quality_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,31 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-versions: ["3.8", "3.9", "3.10"]
python-versions: ["3.11"]
steps:
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: eu-west-2
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: 3.11
- name: Install dependencies and the package
run: |
python -m pip install --upgrade pip
pip install .[test]
pip install -v .[test]
- name: Run unit tests
run: pytest --cov=qbench --cov-report=xml
run: pytest --cov=qbench --cov-report=xml -k 'not awscreds and not aersim'
env:
QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

run_quality_cheks:
run_quality_checks:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.11
- uses: actions/checkout@v2
- name: Install dependencies and the package
run: |
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,12 @@ dmypy.json

# PyCharm files
.idea/**

# Generated files
res.yml
resolved.yml
results.yml
resolved.csv
results.csv
*.yml
*.csv
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_language_version:
python: python3.9
python: python3.11

default_stages: [commit, push]

Expand All @@ -15,8 +15,7 @@ repos:
hooks:
- id: black
args: ["--check"]
language_version: python3.9

language_version: python3.11
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
Expand Down
196 changes: 0 additions & 196 deletions Hadamard example.ipynb

This file was deleted.

Loading
Loading