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

Fast forward experimental-0.2 to latest main branch #1348

Merged
merged 55 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
dfc79aa
Migrate fake backends from `qiskit.providers.fake_provider` (#1140)
ElePT Nov 16, 2023
5b66120
Fix BYOB job results bytes typing issue (#1220)
kt474 Nov 16, 2023
b778615
Fix fake backends integration test (#1225)
ElePT Nov 17, 2023
0fe20cd
Added deprecation warning when using qiskitrc file (#1219)
merav-aharoni Nov 17, 2023
8fa0472
Update session.from_id() (#1163)
kt474 Nov 17, 2023
5271642
Prepare release 0.15.0 (#1226)
kt474 Nov 17, 2023
2c6c427
Update main branch 0.16.0 (#1227)
kt474 Nov 17, 2023
8205a37
Revert `Session.from_id 0.15.0` changes (#1229)
kt474 Nov 17, 2023
0b64fb0
Prepare release 0.15.1 (#1230)
kt474 Nov 17, 2023
c8eb7c9
Update main branch to 0.16.0 again (#1232)
kt474 Nov 17, 2023
ea7872b
Remove all code related to custom programs (#1192)
kt474 Nov 28, 2023
0902c98
Make sessions thread safe (#1196)
delapuente Nov 28, 2023
fb8732d
Instance & channel_strategy validation (#1233)
kt474 Nov 28, 2023
ef06c1a
Prepare release 0.16.1 (#1239)
jyu00 Nov 28, 2023
8f23c9d
update to 0.17 (#1240)
jyu00 Nov 28, 2023
a9350ac
Stop referring to qiskit.org in API docs (#1242)
Eric-Arellano Nov 28, 2023
af432b7
Add job.properties() method (#1252)
kt474 Dec 4, 2023
a618de6
Remove non-API docs and translations (#1256)
Eric-Arellano Dec 4, 2023
5010416
Raise error if backend retrieved not in current instance (#1249)
kt474 Dec 5, 2023
6cb18d0
Fix backend_converter `faulty_qubit` name error (#1257)
kt474 Dec 5, 2023
d0600cb
Update Tutorial section names (#1241)
pandasa123 Dec 5, 2023
e9faa57
make test_backend_wrong_instance IQP only (#1258)
kt474 Dec 5, 2023
40b3076
Add pointer to qiskit/documentation issues (#1260)
abbycross Dec 5, 2023
b264bf1
Update `test_backend_wrong_instance` (#1259)
kt474 Dec 5, 2023
f2e24e4
Don't block for the first job in a session (#1170)
kt474 Dec 6, 2023
f36b2a9
Add `activated_at` field to session.details() (#1266)
kt474 Dec 7, 2023
0f9cc6f
Revert "Don't block for the first job in a session (#1170)" (#1267)
kt474 Dec 7, 2023
b849c70
Prepare release 0.17.0 (#1268)
kt474 Dec 8, 2023
517694a
update main branch 0.17.1 (#1269)
kt474 Dec 8, 2023
4d06ac3
Remove test_session_no_backend (#1272)
kt474 Dec 10, 2023
dfc0fe8
Added RuntimeJob.queue_info() method (#1210)
merav-aharoni Dec 11, 2023
7173af8
Replace programs with primitives in api docs (#1281)
kt474 Dec 14, 2023
bdbbade
Deprecate service.runtime (#1278)
kt474 Dec 18, 2023
91c5a58
Removed support for qiskitrc file (#1121)
merav-aharoni Dec 18, 2023
a1f36b4
Add max_time parameter to IBMBackend.open_session() (#1274)
merav-aharoni Dec 20, 2023
86c41e0
Migrate fake backend base classes (#1270)
ElePT Dec 20, 2023
e57edb3
Add Q-CTRL integration tests (#1173)
kt474 Dec 20, 2023
9abe0c1
update grover tutorial equation (#1293)
kt474 Jan 2, 2024
2d0d5eb
Add dynamic circuits backend filter (#1291)
kt474 Jan 2, 2024
f3dbad0
switch docs from mathjax to katex (#1301)
kevinsung Jan 2, 2024
e9aa596
Remove qiskit.org links (#1302)
kt474 Jan 3, 2024
005aa9b
Update session_id docstring (#1304)
kt474 Jan 4, 2024
781295b
Update provider and qiskit versions (#1305)
kt474 Jan 8, 2024
872e391
Exclude params on job retrieval by default (#1308)
kt474 Jan 10, 2024
7fad461
Reactive the viewcode extension for docs (#1312)
Eric-Arellano Jan 12, 2024
bde88f8
Add config files to manifest (#1319)
ElePT Jan 17, 2024
542ab18
Fix pip environment resolution (#1329)
jakelishman Jan 22, 2024
8723ccf
Use IBM-Provider-vendored pub/sub mechanism (#1328)
jakelishman Jan 22, 2024
385e10e
Add transpiler tests (#1323)
kt474 Jan 25, 2024
c1453f4
Prepare release 0.18.0 (#1335)
kt474 Jan 25, 2024
3de8e82
Update main branch 0.18.1 (#1336)
kt474 Jan 25, 2024
786b494
Turn off qiskit.org docs deploy (#1340)
Eric-Arellano Jan 26, 2024
6365dd9
Remove `qiskit.test` (#1292)
kt474 Jan 29, 2024
64ac8f6
Merge branch 'main' into ff-to-main
kt474 Jan 29, 2024
d480cb1
lint
kt474 Jan 29, 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
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Non-API docs issues
url: https://github.com/Qiskit/documentation/issues/new/choose
about: Open an issue about documentation in the Start, Build, Transpile, Verify, Run, or Migration guides sections of docs.quantum.ibm.com (non-API documentation)
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -c constraints.txt -r requirements-dev.txt
pip install -c constraints.txt -r requirements-dev.txt -e .
- name: Run black
run: make style
- name: Run lint
Expand Down Expand Up @@ -99,8 +98,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -c constraints.txt -r requirements-dev.txt
pip install -c constraints.txt -r requirements-dev.txt -e .
- name: Run unit tests
run: make unit-test-coverage
- name: Report coverage to coveralls.io
Expand Down Expand Up @@ -142,8 +140,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -c constraints.txt -r requirements-dev.txt
pip install -c constraints.txt -r requirements-dev.txt -e .
- name: Run integration tests
run: make integration-test
tests-finished:
Expand Down
36 changes: 7 additions & 29 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Docs Publish
name: Docs Upload
on:
push:
tags:
Expand All @@ -22,32 +22,10 @@ jobs:
python -m pip install --upgrade pip
pip install -U virtualenv setuptools wheel tox
sudo apt-get install -y graphviz pandoc
- name: Build and publish
env:
encrypted_rclone_key: ${{ secrets.encrypted_rclone_key }}
encrypted_rclone_iv: ${{ secrets.encrypted_rclone_iv }}
run: |
tools/deploy_documentation.sh
deploy-translatable-strings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
- name: Build docs
run: tox -e docs
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
python-version: '3.9.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jupyter sphinx_rtd_theme qiskit-terra[visualization] 'torchvision<0.10.0' tox
sudo apt-get install -y graphviz pandoc
- name: Build and publish
env:
encrypted_deploy_po_branch_key: ${{ secrets.encrypted_deploy_po_branch_key }}
encrypted_deploy_po_branch_iv: ${{ secrets.encrypted_deploy_po_branch_iv }}
QISKIT_PARALLEL: False
QISKIT_DOCS_BUILD_TUTORIALS: 'always'
run: |
tools/deploy_translatable_strings.sh
name: html_docs
path: docs/_build/html
5 changes: 2 additions & 3 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -c constraints.txt -r requirements-dev.txt
pip install -c constraints.txt -r requirements-dev.txt -e .
- name: Run e2e tests
run: make e2e-test
run: make e2e-test
3 changes: 1 addition & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -c constraints.txt -r requirements-dev.txt
pip install -c constraints.txt -r requirements-dev.txt -e .
- name: Run integration tests
run: make integration-test
52 changes: 52 additions & 0 deletions .github/workflows/q-ctrl-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This code is part of Qiskit.
#
# (C) Copyright IBM 2023.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative works of this code must retain this
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.

name: Q-CTRL Tests
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
integration-tests:
name: Run integration tests - ${{ matrix.environment }}
runs-on: ${{ matrix.os }}
strategy:
# avoid cancellation of in-progress jobs if any matrix job fails
fail-fast: false
matrix:
python-version: [ 3.9 ]
os: [ "ubuntu-latest" ]
environment: [ "ibm-cloud-staging" ]
environment: ${{ matrix.environment }}
env:
QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN_QCTRL }}
QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}
QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE_QCTRL }}
CHANNEL_STRATEGY: q-ctrl
LOG_LEVEL: DEBUG
STREAM_LOG: True
QISKIT_IN_PARALLEL: True
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -c constraints.txt -r requirements-dev.txt -e .
- name: Run q-ctrl tests
run: python -m unittest test/qctrl/test_qctrl.py
10 changes: 5 additions & 5 deletions .github/workflows/unit-tests-terra-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
unit-tests-latest-qiskit-terra:
if: github.repository_owner == 'Qiskit'
name: Run unit tests with latest code of qiskit-terra
name: Run unit tests with latest code of Qiskit
runs-on: "ubuntu-latest"
env:
LOG_LEVEL: DEBUG
Expand All @@ -35,10 +35,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -c constraints.txt -r requirements-dev.txt
pip install -U git+https://github.com/Qiskit/qiskit-terra.git
# Installing the complete environment should happen in one `pip install` step,
# or pip will generally allow broken combinations of packages to be installed.
pip install -c constraints.txt -r requirements-dev.txt -e . git+https://github.com/Qiskit/qiskit.git
- name: Run tests
# running unit tests against latest (non-released) code of qiskit-terra gives a basic level
# of confidence that the integration between qiskit-ibm-runtime and qiskit-terra works
run: make unit-test
run: make unit-test
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributing
First read the overall project contributing guidelines. These are all
included in the qiskit documentation:

https://qiskit.org/documentation/contributing_to_qiskit.html
https://github.com/Qiskit/qiskit/blob/main/CONTRIBUTING.md


## Contributing to qiskit-ibm-runtime
Expand All @@ -13,6 +13,10 @@ https://qiskit.org/documentation/contributing_to_qiskit.html
In addition to the general guidelines there are specific details for
contributing to qiskit-ibm-runtime, these are documented below.

### Open an issue

* For documentation issues relating to pages in the Start, Build, Transpile, Verify, Run, and Migration guides sections of https://docs.quantum.ibm.com, please open an issue in the [Qiskit/documentation repo](https://github.com/Qiskit/documentation/issues/new/choose) rather than the Qiskit/qiskit-ibm-runtime repo. In other words, any page that DOES NOT have `/api/` in the url should be addressed in the Qiskit/documentation repo. (Exception: the Migration guide urls contain `/api/` but are managed in the Qiskit/documentation repo.)
* For issues relating to API reference pages (any page that contains /api/ in the url), please open an issue in the repo specific to that API reference.

### Pull request checklist

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include LICENSE.txt README.md
include qiskit_ibm_runtime/VERSION.txt
recursive-include qiskit_ibm_runtime/fake_provider/backends *.json
recursive-include test *.py
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ All quantum applications and algorithms level are fundamentally built using thre
2. Define the observable or the classical register to be measured.
4. Execute the quantum circuits by using a primitive (Estimator or Sampler).

**Primitives** are base-level functions that serve as building blocks for many quantum algorithms and applications. The [primitive interfaces](https://qiskit.org/documentation/apidoc/primitives.html) are defined in Qiskit.
**Primitives** are base-level functions that serve as building blocks for many quantum algorithms and applications. The [primitive interfaces](https://docs.quantum.ibm.com/api/qiskit/primitives) are defined in Qiskit.

The IBM Runtime service offers these primitives with additional features, such as built-in error suppression and mitigation.

Expand Down Expand Up @@ -319,7 +319,7 @@ By participating, you are expected to uphold to this code.

We use [GitHub issues] for tracking requests and bugs. Please use our [slack]
for discussion and simple questions. To join our Slack community use the
invite link at [Qiskit.org]. For questions that are more suited for a forum we
invite link at [ibm.com/quantum/qiskit]. For questions that are more suited for a forum we
use the `Qiskit` tag in [Stack Exchange].

## License
Expand All @@ -334,7 +334,7 @@ use the `Qiskit` tag in [Stack Exchange].
[code of conduct]: https://github.com/Qiskit/qiskit-ibm-runtime/blob/main/CODE_OF_CONDUCT.md
[GitHub issues]: https://github.com/Qiskit/qiskit-ibm-runtime/issues
[slack]: https://qiskit.slack.com
[Qiskit.org]: https://qiskit.org
[ibm.com/quantum/qiskit]: https://www.ibm.com/quantum/qiskit
[Stack Exchange]: https://quantumcomputing.stackexchange.com/questions/tagged/qiskit
[many people]: https://github.com/Qiskit/qiskit-ibm-runtime/graphs/contributors
[BibTeX file]: https://github.com/Qiskit/qiskit/blob/master/Qiskit.bib
Expand Down
26 changes: 0 additions & 26 deletions docs/_templates/theme_variables.jinja

This file was deleted.

15 changes: 0 additions & 15 deletions docs/cloud/architecture-workload-isolation.rst

This file was deleted.

38 changes: 0 additions & 38 deletions docs/cloud/at-events.rst

This file was deleted.

Loading
Loading