You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,10 @@ Thank you for considering contributing! We welcome all kinds of contributions—
5
5
---
6
6
7
7
## How to Contribute
8
-
Feel free to submit a "pull request" on GitHub in a designated feature branch. Include comments about what the fix/update does.
8
+
Feel free to submit a "pull request" on GitHub in a designated feature branch. Include comments about what the fix/update does, and ensure the tests work by running:
9
+
```python
10
+
states = res.run(timeseries)
11
+
```
9
12
10
13
For new features, please also consider updating the examples folder to show the intended use of the feature.
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,11 @@ This will return a `np.ndarray` of the same length as the timeseries, correspond
101
101
102
102
`Incremental` reservoirs run incrementally. For every state, only the last `M` steps of the timeseries is built at a time (`M` being a parameter of `Incremental.__init__`).
103
103
104
+
## Testing
105
+
Some tests have been implemented using pytest. To run them, ensure pytest is installed (*not* installed as runtime dependency) and run
106
+
```python
107
+
pytest
108
+
```
104
109
## About
105
110
106
111
You can find out more about QuantumReservoirPy and contact the authors [here](https://quantumreservoirpy.readthedocs.io/en/latest/about/).
Copy file name to clipboardExpand all lines: paper.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,8 +78,7 @@ The processing methods do not affect the creation of the reservoirs, but are inc
78
78
79
79
## Dependencies
80
80
81
-
The three main dependencies of `QuantumReservoirPy` are numpy, qiskit, and scikit-learn.
82
-
We strive for `QuantumReservoirPy` to support compatibility with existing reservoir computing and quantum computing workflows.
81
+
The three main dependencies of `QuantumReservoirPy` are numpy, qiskit, and scikit-learn, with python versions above 3.9. Qiskit is [deprecating](https://github.com/Qiskit/qiskit/releases) python 3.9 support in the 2.1.0 version, and the package presented here is developed to support qiskit=2.0.x. As for the other packages, the supported versions of scikit-learn and numpy follows from their interrelated constraints as well as the constraint from qiskit. In the install script, we specify numpy>1.17. We strive for `QuantumReservoirPy` to support compatibility with existing reservoir computing and quantum computing workflows.
83
82
84
83
Much of existing research in QRC is performed on IBM devices and simulators (see [@yasuda23; @suzuki22]), programmed through the Qiskit software package. To minimize disruption in current workflows, `QuantumReservoirPy` is built as a package to interact with Qiskit circuits and backends. It is expected that the user also use Qiskit in the customization of reservoir architecture when working with `QuantumReservoirPy`.
0 commit comments