quantinuum-nexus 26.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: quantinuum-nexus
|
|
3
|
+
Version: 26.1.0
|
|
4
|
+
Summary: Quantinuum's Python development tools
|
|
5
|
+
Requires-Python: <3.15,>=3.12
|
|
6
|
+
Requires-Dist: guppyalgos==0.2.0
|
|
7
|
+
Requires-Dist: guppyft==0.4.0
|
|
8
|
+
Requires-Dist: guppylang-internals==1.1.3
|
|
9
|
+
Requires-Dist: guppylang==1.1.3
|
|
10
|
+
Requires-Dist: hugr==0.18.8
|
|
11
|
+
Requires-Dist: pytket==2.18.4
|
|
12
|
+
Requires-Dist: qnexus==0.51.0
|
|
13
|
+
Requires-Dist: quantinuum-schemas==7.8.2
|
|
14
|
+
Requires-Dist: qwasm==1.0.1
|
|
15
|
+
Requires-Dist: selene-core==0.3.3
|
|
16
|
+
Requires-Dist: selene-formats==0.1.2
|
|
17
|
+
Requires-Dist: selene-hugr-qis-compiler==0.5.1
|
|
18
|
+
Requires-Dist: selene-sim==0.3.2
|
|
19
|
+
Requires-Dist: tket-eccs==0.6.0
|
|
20
|
+
Requires-Dist: tket-exts==0.14.3
|
|
21
|
+
Requires-Dist: tket==0.15.14
|
|
22
|
+
Requires-Dist: zixy==0.4.3
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# Quantinuum Nexus Python Metapackage
|
|
26
|
+
|
|
27
|
+
`quantinuum-nexus` installs a versioned set of Quantinuum's Python tools for
|
|
28
|
+
quantum programming, fault tolerance, local emulation, circuit compilation, and
|
|
29
|
+
access to Quantinuum Nexus. Install one SDK version to select the exact component
|
|
30
|
+
versions for that release instead of choosing each component version separately.
|
|
31
|
+
|
|
32
|
+
This is a Python **metapackage**: it contains dependency metadata, with no
|
|
33
|
+
additional Python API. After installation, use each component's own imports,
|
|
34
|
+
APIs, and documentation.
|
|
35
|
+
|
|
36
|
+
## Included tools
|
|
37
|
+
|
|
38
|
+
The SDK includes these six packages:
|
|
39
|
+
|
|
40
|
+
| Tool | Python package | Purpose |
|
|
41
|
+
| --- | --- | --- |
|
|
42
|
+
| Guppy | `guppylang` | Write hybrid quantum-classical programs in a language embedded in Python. |
|
|
43
|
+
| Guppy FT | `guppyft` | Write, compile, and run fault-tolerant Guppy programs. |
|
|
44
|
+
| Guppy Algorithms | `guppyalgos` | Work with quantum algorithms in the Guppy toolkit. |
|
|
45
|
+
| Selene | `selene-sim` | Emulate hybrid quantum-classical programs locally. |
|
|
46
|
+
| TKET | `pytket` | Build, transform, and optimize quantum circuits. |
|
|
47
|
+
| Nexus client | `qnexus` | Access the Quantinuum Nexus platform from Python. |
|
|
48
|
+
|
|
49
|
+
### Supporting packages
|
|
50
|
+
|
|
51
|
+
The tools above depend on further Quantinuum packages. The SDK installs these
|
|
52
|
+
automatically and pins them as well, so each release identifies one exact
|
|
53
|
+
version of all Quantinuum code. You rarely need to use them directly:
|
|
54
|
+
|
|
55
|
+
- `guppylang-internals`
|
|
56
|
+
- `hugr`
|
|
57
|
+
- `quantinuum-schemas`
|
|
58
|
+
- `qwasm`
|
|
59
|
+
- `selene-core`
|
|
60
|
+
- `selene-formats`
|
|
61
|
+
- `selene-hugr-qis-compiler`
|
|
62
|
+
- `tket`
|
|
63
|
+
- `tket-eccs`
|
|
64
|
+
- `tket-exts`
|
|
65
|
+
- `zixy`
|
|
66
|
+
|
|
67
|
+
See the [Quantinuum documentation](https://docs.quantinuum.com/) for tutorials
|
|
68
|
+
and API references, and the
|
|
69
|
+
[platform release notes](https://docs.quantinuum.com/platform/releases/) for
|
|
70
|
+
component release notes and platform changes.
|
|
71
|
+
|
|
72
|
+
## Python and platform support
|
|
73
|
+
|
|
74
|
+
This release supports CPython 3.12, 3.13, and 3.14 on Linux, Windows, and macOS,
|
|
75
|
+
with one exception: **Python 3.14 is not supported on Intel macOS**. On Intel
|
|
76
|
+
Macs, use Python 3.12 or 3.13. This restriction also applies to an Intel Python
|
|
77
|
+
interpreter running through Rosetta on an Apple Silicon Mac; use a native ARM64
|
|
78
|
+
interpreter for Python 3.14.
|
|
79
|
+
|
|
80
|
+
To limit CI usage, each change is installation-tested on every platform with
|
|
81
|
+
the oldest and newest supported Python versions (3.12 and 3.14, or 3.12 and 3.13
|
|
82
|
+
on Intel macOS). Python 3.13 on the other platforms is supported, but tested
|
|
83
|
+
through the full local installation tests rather than on every change.
|
|
84
|
+
|
|
85
|
+
Python 3.15 and later are outside this release's supported range. The pinned
|
|
86
|
+
`guppyalgos` version requires Python below 3.15.
|
|
87
|
+
|
|
88
|
+
## Installation
|
|
89
|
+
|
|
90
|
+
Add the SDK from PyPI to your uv project using:
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
uv add quantinuum-nexus
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Or install it into an existing activated virtual environment using:
|
|
97
|
+
|
|
98
|
+
```sh
|
|
99
|
+
uv pip install quantinuum-nexus
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Alternatively, install it into that environment using pip:
|
|
103
|
+
|
|
104
|
+
```sh
|
|
105
|
+
python -m pip install quantinuum-nexus
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Verify that the environment's installed dependencies are consistent with:
|
|
109
|
+
|
|
110
|
+
```sh
|
|
111
|
+
python -m pip check
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
There is no `quantinuum_nexus` module to import. Use the installed tools
|
|
115
|
+
directly, for example:
|
|
116
|
+
|
|
117
|
+
```python
|
|
118
|
+
from pytket import Circuit
|
|
119
|
+
|
|
120
|
+
circuit = Circuit(2).H(0).CX(0, 1)
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Installing from GitHub Releases
|
|
124
|
+
|
|
125
|
+
Each release is also available from
|
|
126
|
+
[GitHub Releases](https://github.com/Quantinuum/quantinuum-nexus-pymeta/releases).
|
|
127
|
+
Download the wheel (`.whl`) attached to the release you want. In a directory
|
|
128
|
+
containing that single SDK wheel, add it to your uv project using:
|
|
129
|
+
|
|
130
|
+
```sh
|
|
131
|
+
uv add ./quantinuum_nexus-*.whl
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Or install it into an existing activated virtual environment using:
|
|
135
|
+
|
|
136
|
+
```sh
|
|
137
|
+
uv pip install ./quantinuum_nexus-*.whl
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Alternatively, use pip:
|
|
141
|
+
|
|
142
|
+
```sh
|
|
143
|
+
python -m pip install ./quantinuum_nexus-*.whl
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
These shell examples expand the wheel filename; you can also pass its exact
|
|
147
|
+
path. Dependencies are resolved from PyPI as usual. A GitHub release is ready
|
|
148
|
+
to install once its wheel, source distribution, and `pylock.toml` appear under
|
|
149
|
+
release assets.
|
|
150
|
+
|
|
151
|
+
### Dependency versions and reproducibility
|
|
152
|
+
|
|
153
|
+
Each SDK release pins every Quantinuum package it installs to an exact version:
|
|
154
|
+
the six tools and the supporting packages listed
|
|
155
|
+
[above](#supporting-packages). Updating the SDK version is required to get
|
|
156
|
+
new component versions, because a component's independent release does not
|
|
157
|
+
change an already published SDK release.
|
|
158
|
+
|
|
159
|
+
Third-party dependencies, such as `numpy`, use compatible ranges so the SDK can
|
|
160
|
+
share an environment with your other packages. To reproduce the exact
|
|
161
|
+
environment a release was tested with, each GitHub release also attaches a
|
|
162
|
+
[`pylock.toml`](https://packaging.python.org/en/latest/specifications/pylock-toml/)
|
|
163
|
+
lock file. Install it with uv into a fresh virtual environment, then add the SDK
|
|
164
|
+
wheel without resolving dependencies again:
|
|
165
|
+
|
|
166
|
+
```sh
|
|
167
|
+
uv pip install -r pylock.toml
|
|
168
|
+
uv pip install --no-deps ./quantinuum_nexus-*.whl
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
The lock file covers the supported Python versions and platforms. It cannot be
|
|
172
|
+
combined with other requirements in a single install command.
|
|
173
|
+
|
|
174
|
+
## Release cycle
|
|
175
|
+
|
|
176
|
+
SDK versions follow **`YY.SERIES.PATCH`** calendar versioning:
|
|
177
|
+
|
|
178
|
+
- **YY** is the two-digit year the release series begins, such as `26` for 2026.
|
|
179
|
+
- **SERIES** starts at 1 each year and increases for each new release series.
|
|
180
|
+
- **PATCH** starts at 0 and increases for compatible updates within a series.
|
|
181
|
+
|
|
182
|
+
New release series are published as needed, with no fixed schedule or annual
|
|
183
|
+
limit. The series number indicates release order within the year. Patches to an
|
|
184
|
+
existing series retain its year and series number, even when published in a
|
|
185
|
+
later year.
|
|
186
|
+
|
|
187
|
+
### Stable release series and patches
|
|
188
|
+
|
|
189
|
+
New release series may introduce breaking component changes. Review the release
|
|
190
|
+
notes and validate your application before moving to a new series.
|
|
191
|
+
|
|
192
|
+
Patch releases within a series are intended to preserve compatibility. Automated
|
|
193
|
+
dependency updates propose eligible Quantinuum package updates for stable
|
|
194
|
+
series: minor and patch updates for packages at version 1.0 or later, and patch
|
|
195
|
+
updates only for packages below 1.0. Major updates and pre-1.0 minor updates are
|
|
196
|
+
reserved for the upcoming series. Not every dependency update produces a new SDK
|
|
197
|
+
release immediately.
|
|
198
|
+
|
|
199
|
+
For the two most recent stable series, patch updates and their SDK patch
|
|
200
|
+
releases merge automatically after CI. Minor updates require human review of
|
|
201
|
+
both the dependency PR and the resulting SDK patch release PR. Older series can
|
|
202
|
+
receive manually initiated patches. Stable patches can continue while the next
|
|
203
|
+
series is in preview.
|
|
204
|
+
|
|
205
|
+
### Betas and release candidates
|
|
206
|
+
|
|
207
|
+
Upcoming release series are offered as opt-in prereleases:
|
|
208
|
+
|
|
209
|
+
- **Beta** (`YY.SERIES.0bN`): a preview whose component versions can still
|
|
210
|
+
change, including potentially breaking updates. Further previews increment
|
|
211
|
+
the beta number.
|
|
212
|
+
- **Release candidate** (`YY.SERIES.0rcN`): the intended final component
|
|
213
|
+
set, frozen except for reviewed fixes to blocking issues. Further fixes
|
|
214
|
+
produce additional numbered release candidates.
|
|
215
|
+
- **Stable** (`YY.SERIES.0`): the first stable release in a series, using the
|
|
216
|
+
chosen release candidate's exact direct dependency pins.
|
|
217
|
+
|
|
218
|
+
To try a preview, allow preview versions when adding or upgrading the SDK in
|
|
219
|
+
your uv project:
|
|
220
|
+
|
|
221
|
+
```sh
|
|
222
|
+
uv add --upgrade --prerelease allow quantinuum-nexus
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
Alternatively, use pip in an existing activated virtual environment:
|
|
226
|
+
|
|
227
|
+
```sh
|
|
228
|
+
python -m pip install --upgrade --pre quantinuum-nexus
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
## Repository guides
|
|
232
|
+
|
|
233
|
+
- [Development and repository setup](SETUP.md): local tools, validation commands,
|
|
234
|
+
commit hooks, and one-time GitHub and PyPI configuration.
|
|
235
|
+
- [Maintaining and releasing](MAINTAINING.md): dependency updates, release
|
|
236
|
+
workflows, beta and RC management, release series promotion, and publication retries.
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
# Quantinuum Nexus Python Metapackage
|
|
2
|
+
|
|
3
|
+
`quantinuum-nexus` installs a versioned set of Quantinuum's Python tools for
|
|
4
|
+
quantum programming, fault tolerance, local emulation, circuit compilation, and
|
|
5
|
+
access to Quantinuum Nexus. Install one SDK version to select the exact component
|
|
6
|
+
versions for that release instead of choosing each component version separately.
|
|
7
|
+
|
|
8
|
+
This is a Python **metapackage**: it contains dependency metadata, with no
|
|
9
|
+
additional Python API. After installation, use each component's own imports,
|
|
10
|
+
APIs, and documentation.
|
|
11
|
+
|
|
12
|
+
## Included tools
|
|
13
|
+
|
|
14
|
+
The SDK includes these six packages:
|
|
15
|
+
|
|
16
|
+
| Tool | Python package | Purpose |
|
|
17
|
+
| --- | --- | --- |
|
|
18
|
+
| Guppy | `guppylang` | Write hybrid quantum-classical programs in a language embedded in Python. |
|
|
19
|
+
| Guppy FT | `guppyft` | Write, compile, and run fault-tolerant Guppy programs. |
|
|
20
|
+
| Guppy Algorithms | `guppyalgos` | Work with quantum algorithms in the Guppy toolkit. |
|
|
21
|
+
| Selene | `selene-sim` | Emulate hybrid quantum-classical programs locally. |
|
|
22
|
+
| TKET | `pytket` | Build, transform, and optimize quantum circuits. |
|
|
23
|
+
| Nexus client | `qnexus` | Access the Quantinuum Nexus platform from Python. |
|
|
24
|
+
|
|
25
|
+
### Supporting packages
|
|
26
|
+
|
|
27
|
+
The tools above depend on further Quantinuum packages. The SDK installs these
|
|
28
|
+
automatically and pins them as well, so each release identifies one exact
|
|
29
|
+
version of all Quantinuum code. You rarely need to use them directly:
|
|
30
|
+
|
|
31
|
+
- `guppylang-internals`
|
|
32
|
+
- `hugr`
|
|
33
|
+
- `quantinuum-schemas`
|
|
34
|
+
- `qwasm`
|
|
35
|
+
- `selene-core`
|
|
36
|
+
- `selene-formats`
|
|
37
|
+
- `selene-hugr-qis-compiler`
|
|
38
|
+
- `tket`
|
|
39
|
+
- `tket-eccs`
|
|
40
|
+
- `tket-exts`
|
|
41
|
+
- `zixy`
|
|
42
|
+
|
|
43
|
+
See the [Quantinuum documentation](https://docs.quantinuum.com/) for tutorials
|
|
44
|
+
and API references, and the
|
|
45
|
+
[platform release notes](https://docs.quantinuum.com/platform/releases/) for
|
|
46
|
+
component release notes and platform changes.
|
|
47
|
+
|
|
48
|
+
## Python and platform support
|
|
49
|
+
|
|
50
|
+
This release supports CPython 3.12, 3.13, and 3.14 on Linux, Windows, and macOS,
|
|
51
|
+
with one exception: **Python 3.14 is not supported on Intel macOS**. On Intel
|
|
52
|
+
Macs, use Python 3.12 or 3.13. This restriction also applies to an Intel Python
|
|
53
|
+
interpreter running through Rosetta on an Apple Silicon Mac; use a native ARM64
|
|
54
|
+
interpreter for Python 3.14.
|
|
55
|
+
|
|
56
|
+
To limit CI usage, each change is installation-tested on every platform with
|
|
57
|
+
the oldest and newest supported Python versions (3.12 and 3.14, or 3.12 and 3.13
|
|
58
|
+
on Intel macOS). Python 3.13 on the other platforms is supported, but tested
|
|
59
|
+
through the full local installation tests rather than on every change.
|
|
60
|
+
|
|
61
|
+
Python 3.15 and later are outside this release's supported range. The pinned
|
|
62
|
+
`guppyalgos` version requires Python below 3.15.
|
|
63
|
+
|
|
64
|
+
## Installation
|
|
65
|
+
|
|
66
|
+
Add the SDK from PyPI to your uv project using:
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
uv add quantinuum-nexus
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Or install it into an existing activated virtual environment using:
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
uv pip install quantinuum-nexus
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Alternatively, install it into that environment using pip:
|
|
79
|
+
|
|
80
|
+
```sh
|
|
81
|
+
python -m pip install quantinuum-nexus
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Verify that the environment's installed dependencies are consistent with:
|
|
85
|
+
|
|
86
|
+
```sh
|
|
87
|
+
python -m pip check
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
There is no `quantinuum_nexus` module to import. Use the installed tools
|
|
91
|
+
directly, for example:
|
|
92
|
+
|
|
93
|
+
```python
|
|
94
|
+
from pytket import Circuit
|
|
95
|
+
|
|
96
|
+
circuit = Circuit(2).H(0).CX(0, 1)
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Installing from GitHub Releases
|
|
100
|
+
|
|
101
|
+
Each release is also available from
|
|
102
|
+
[GitHub Releases](https://github.com/Quantinuum/quantinuum-nexus-pymeta/releases).
|
|
103
|
+
Download the wheel (`.whl`) attached to the release you want. In a directory
|
|
104
|
+
containing that single SDK wheel, add it to your uv project using:
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
uv add ./quantinuum_nexus-*.whl
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Or install it into an existing activated virtual environment using:
|
|
111
|
+
|
|
112
|
+
```sh
|
|
113
|
+
uv pip install ./quantinuum_nexus-*.whl
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Alternatively, use pip:
|
|
117
|
+
|
|
118
|
+
```sh
|
|
119
|
+
python -m pip install ./quantinuum_nexus-*.whl
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
These shell examples expand the wheel filename; you can also pass its exact
|
|
123
|
+
path. Dependencies are resolved from PyPI as usual. A GitHub release is ready
|
|
124
|
+
to install once its wheel, source distribution, and `pylock.toml` appear under
|
|
125
|
+
release assets.
|
|
126
|
+
|
|
127
|
+
### Dependency versions and reproducibility
|
|
128
|
+
|
|
129
|
+
Each SDK release pins every Quantinuum package it installs to an exact version:
|
|
130
|
+
the six tools and the supporting packages listed
|
|
131
|
+
[above](#supporting-packages). Updating the SDK version is required to get
|
|
132
|
+
new component versions, because a component's independent release does not
|
|
133
|
+
change an already published SDK release.
|
|
134
|
+
|
|
135
|
+
Third-party dependencies, such as `numpy`, use compatible ranges so the SDK can
|
|
136
|
+
share an environment with your other packages. To reproduce the exact
|
|
137
|
+
environment a release was tested with, each GitHub release also attaches a
|
|
138
|
+
[`pylock.toml`](https://packaging.python.org/en/latest/specifications/pylock-toml/)
|
|
139
|
+
lock file. Install it with uv into a fresh virtual environment, then add the SDK
|
|
140
|
+
wheel without resolving dependencies again:
|
|
141
|
+
|
|
142
|
+
```sh
|
|
143
|
+
uv pip install -r pylock.toml
|
|
144
|
+
uv pip install --no-deps ./quantinuum_nexus-*.whl
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
The lock file covers the supported Python versions and platforms. It cannot be
|
|
148
|
+
combined with other requirements in a single install command.
|
|
149
|
+
|
|
150
|
+
## Release cycle
|
|
151
|
+
|
|
152
|
+
SDK versions follow **`YY.SERIES.PATCH`** calendar versioning:
|
|
153
|
+
|
|
154
|
+
- **YY** is the two-digit year the release series begins, such as `26` for 2026.
|
|
155
|
+
- **SERIES** starts at 1 each year and increases for each new release series.
|
|
156
|
+
- **PATCH** starts at 0 and increases for compatible updates within a series.
|
|
157
|
+
|
|
158
|
+
New release series are published as needed, with no fixed schedule or annual
|
|
159
|
+
limit. The series number indicates release order within the year. Patches to an
|
|
160
|
+
existing series retain its year and series number, even when published in a
|
|
161
|
+
later year.
|
|
162
|
+
|
|
163
|
+
### Stable release series and patches
|
|
164
|
+
|
|
165
|
+
New release series may introduce breaking component changes. Review the release
|
|
166
|
+
notes and validate your application before moving to a new series.
|
|
167
|
+
|
|
168
|
+
Patch releases within a series are intended to preserve compatibility. Automated
|
|
169
|
+
dependency updates propose eligible Quantinuum package updates for stable
|
|
170
|
+
series: minor and patch updates for packages at version 1.0 or later, and patch
|
|
171
|
+
updates only for packages below 1.0. Major updates and pre-1.0 minor updates are
|
|
172
|
+
reserved for the upcoming series. Not every dependency update produces a new SDK
|
|
173
|
+
release immediately.
|
|
174
|
+
|
|
175
|
+
For the two most recent stable series, patch updates and their SDK patch
|
|
176
|
+
releases merge automatically after CI. Minor updates require human review of
|
|
177
|
+
both the dependency PR and the resulting SDK patch release PR. Older series can
|
|
178
|
+
receive manually initiated patches. Stable patches can continue while the next
|
|
179
|
+
series is in preview.
|
|
180
|
+
|
|
181
|
+
### Betas and release candidates
|
|
182
|
+
|
|
183
|
+
Upcoming release series are offered as opt-in prereleases:
|
|
184
|
+
|
|
185
|
+
- **Beta** (`YY.SERIES.0bN`): a preview whose component versions can still
|
|
186
|
+
change, including potentially breaking updates. Further previews increment
|
|
187
|
+
the beta number.
|
|
188
|
+
- **Release candidate** (`YY.SERIES.0rcN`): the intended final component
|
|
189
|
+
set, frozen except for reviewed fixes to blocking issues. Further fixes
|
|
190
|
+
produce additional numbered release candidates.
|
|
191
|
+
- **Stable** (`YY.SERIES.0`): the first stable release in a series, using the
|
|
192
|
+
chosen release candidate's exact direct dependency pins.
|
|
193
|
+
|
|
194
|
+
To try a preview, allow preview versions when adding or upgrading the SDK in
|
|
195
|
+
your uv project:
|
|
196
|
+
|
|
197
|
+
```sh
|
|
198
|
+
uv add --upgrade --prerelease allow quantinuum-nexus
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
Alternatively, use pip in an existing activated virtual environment:
|
|
202
|
+
|
|
203
|
+
```sh
|
|
204
|
+
python -m pip install --upgrade --pre quantinuum-nexus
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
## Repository guides
|
|
208
|
+
|
|
209
|
+
- [Development and repository setup](SETUP.md): local tools, validation commands,
|
|
210
|
+
commit hooks, and one-time GitHub and PyPI configuration.
|
|
211
|
+
- [Maintaining and releasing](MAINTAINING.md): dependency updates, release
|
|
212
|
+
workflows, beta and RC management, release series promotion, and publication retries.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling==1.33.0"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "quantinuum-nexus"
|
|
7
|
+
version = "26.1.0"
|
|
8
|
+
description = "Quantinuum's Python development tools"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.12,<3.15"
|
|
11
|
+
dependencies = [
|
|
12
|
+
# SDK components
|
|
13
|
+
"guppylang==1.1.3",
|
|
14
|
+
"guppyft==0.4.0",
|
|
15
|
+
"guppyalgos==0.2.0",
|
|
16
|
+
"selene-sim==0.3.2",
|
|
17
|
+
"pytket==2.18.4",
|
|
18
|
+
"qnexus==0.51.0",
|
|
19
|
+
# Supporting Quantinuum packages required by the components
|
|
20
|
+
"guppylang-internals==1.1.3",
|
|
21
|
+
"hugr==0.18.8",
|
|
22
|
+
"quantinuum-schemas==7.8.2",
|
|
23
|
+
"qwasm==1.0.1",
|
|
24
|
+
"selene-core==0.3.3",
|
|
25
|
+
"selene-formats==0.1.2",
|
|
26
|
+
"selene-hugr-qis-compiler==0.5.1",
|
|
27
|
+
"tket==0.15.14",
|
|
28
|
+
"tket-eccs==0.6.0",
|
|
29
|
+
"tket-exts==0.14.3",
|
|
30
|
+
"zixy==0.4.3",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[dependency-groups]
|
|
34
|
+
automation = ["ghapi==2.1.5"]
|
|
35
|
+
dev = [
|
|
36
|
+
{include-group = "automation"},
|
|
37
|
+
"pytest==9.2.0",
|
|
38
|
+
"pre-commit==4.7.0",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[tool.pytest.ini_options]
|
|
42
|
+
testpaths = ["tests/scripts"]
|
|
43
|
+
pythonpath = ["scripts"]
|
|
44
|
+
addopts = "-ra"
|
|
45
|
+
|
|
46
|
+
[tool.ruff]
|
|
47
|
+
target-version = "py312"
|
|
48
|
+
src = ["scripts"]
|
|
49
|
+
|
|
50
|
+
[tool.ruff.lint]
|
|
51
|
+
select = ["E4", "E7", "E9", "F", "I", "UP", "SIM"]
|
|
52
|
+
|
|
53
|
+
[tool.hatch.build.targets.wheel]
|
|
54
|
+
bypass-selection = true
|
|
55
|
+
|
|
56
|
+
[tool.hatch.build.targets.sdist]
|
|
57
|
+
include = ["pyproject.toml", "README.md"]
|