-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional dependencies file (#1219)
### Summary This PR adds `requirements-extras.txt` which contains extra packages that can be installed as `[extras]` and were mostly moved from `requirements-dev.txt`. These are in contrast to the core dependencies in `requirements.txt` and the requirements that are only used for tests, which will stay in `requirements-dev.txt`. ### Details and comments While the optional packages are not related to each other, it seemed too complicated to split out optional dependencies into further categories. There are a few additional changes: - Added `qiskit-ibm-provider>=0.6.1` as an optional dependency since this release adds numpy serialization, which fixes some known bugs with circuit metadata serialization (see also #1176) - Unpinned `scipy` (done in #1164) and bumped `cvxpy` to 1.3.2, which is now compatible with scipy 1.11 - Removed matrix variables from CI workflow that doesn't use them - Updated install and contributing instructions
- Loading branch information
1 parent
d9a767b
commit f4c8686
Showing
13 changed files
with
42 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
include LICENSE.txt | ||
include requirements.txt | ||
include requirements-extras.txt | ||
include qiskit_experiments/VERSION.txt | ||
include qiskit_experiments/library/randomized_benchmarking/data/*.npz | ||
exclude qiskit_experiments/library/randomized_benchmarking/data/generate_clifford_data.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
other: | ||
- | | ||
A new set of optional dependencies have been split off from the developer dependencies and | ||
can be installed separately as ``qiskit-experiments[extras]``. These are packages that enable | ||
optional experiment features such as ``scikit-learn``-based discriminators. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
qiskit-ibm-provider>=0.6.1 # for submitting experiments to backends through the IBM provider | ||
cvxpy>=1.3.2 # for tomography | ||
scikit-learn # for discriminators | ||
qiskit-aer>=0.11.0 # for QV simulations | ||
qiskit_dynamics>=0.4.0 # for the PulseBackend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters