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
For Chinese Introduction, see: [中文README](README_cn.md).
9
10
For Japanese Introduction, see: [日本語README](README_jp.md).
10
11
11
-
TyxonQ 太玄量子 is a next‑generation quantum programming framework with a stable IR, pluggable compiler, unified device abstraction (simulators and hardware), a single numerics backend interface (NumPy/PyTorch/CuPyNumeric), and a deviceruntime friendly postprocessing layer. It is designed to mirror real devices while remaining simple for engineers and scientists.
12
+
TyxonQ (太玄量子) is a production-ready, next-generation quantum programming framework featuring stable IR, pluggable compiler, unified device abstraction (simulators and hardware), single numerics backend interface (NumPy/PyTorch/CuPyNumeric), and device-runtime friendly postprocessing. Version 1.0.0 introduces revolutionary pulse-level control, China Mobile QCOS (Quantum Computing OS) integration, and enhanced quantum chemistry performance.
12
13
13
14
### Core goals
14
15
-**System‑architect‑friendly, hardware‑realistic programming model**: stable IR + chain pipeline mirroring real device execution; clear contracts for compiler, devices, and postprocessing; closest‑to‑hardware code path.
@@ -64,6 +65,28 @@ print("E[Z] (sim)", ez_sim)
64
65
print("E[Z] (hw) ", ez_hw)
65
66
```
66
67
68
+
### Pulse-Level Quantum Control
69
+
```python
70
+
import tyxonq as tq
71
+
from tyxonq import waveforms
72
+
73
+
# High-level: Write algorithms with gates
74
+
circuit = tq.Circuit(2).h(0).cx(0, 1)
75
+
76
+
# Hardware execution: Automatic TQASM export for real QPU
77
+
result = circuit.device(provider="tyxonq", device="homebrew_s2").run(shots=1024)
78
+
79
+
# Or use China Mobile QCOS hardware
80
+
result = circuit.device(
81
+
provider="qcos",
82
+
device="WuYue-QPUSim-FullAmpSim",
83
+
shots=1024,
84
+
access_key="your_access_key",
85
+
secret_key="your_secret_key",
86
+
sdk_code="your_sdk_code"
87
+
).run()
88
+
```
89
+
67
90
### Minimal Quantum Chemistry (PySCF‑style)
68
91
```python
69
92
# pip install pyscf # required for UCCSD example
@@ -89,6 +112,11 @@ print("UCCSD energy (device path):", e)
89
112
pip install tyxonq
90
113
# or from source
91
114
uv build && uv pip install dist/tyxonq-*.whl
115
+
116
+
# For China Mobile QCOS integration (requires Python 3.11)
2.**Hardware Access**: Request access to **Homebrew_S2** quantum processor through
99
127
API [TyxonQ QPU API](https://www.tyxonq.com)
128
+
3.**China Mobile QCOS**: For ecloud quantum hardware access, visit [China Mobile ecloud console](https://ecloud.10086.cn/api/page/wyqcloud/web/console/#/overview_home) and setup your account
100
129
101
130
### Hardware API Configuration
102
131
Set up your API credentials:
@@ -105,13 +134,24 @@ Set up your API credentials:
105
134
import tyxonq as tq
106
135
import getpass
107
136
108
-
# Configure quantum hardware access
137
+
# Configure TyxonQ quantum hardware access
109
138
API_KEY= getpass.getpass("Input your TyxonQ API_KEY:")
110
139
tq.set_token(API_KEY) # Get from https://www.tyxonq.com
111
-
# legacy style
112
-
# apis.set_token(API_KEY) # Get from https://www.tyxonq.com
140
+
141
+
# Configure China Mobile QCOS (alternative)
142
+
# Credentials can be set via environment variables:
143
+
# export QCOS_ACCESS_KEY="your_access_key"
144
+
# export QCOS_SECRET_KEY="your_secret_key"
145
+
# export QCOS_SDK_CODE="your_sdk_code"
113
146
```
114
147
148
+
### Supported Hardware Providers
149
+
| Provider | Device Type | Access Method |
150
+
|----------|-------------|---------------|
151
+
|**TyxonQ**|`homebrew_s2`| Direct API access |
152
+
|**QCOS**|`WuYue-*` series | China Mobile ecloud plugin |
153
+
|**Simulators**|`statevector`, `density_matrix`, `mps`| Local execution |
154
+
115
155
## 📖 Technical Documentation
116
156
117
157
### TyxonQ Technical Whitepaper
@@ -154,7 +194,7 @@ This document provides:
154
194
155
195
### 🚀 Performance Leadership
156
196
157
-
TyxonQ delivers **industry-leading performance** in gradient computation:
197
+
TyxonQ delivers **industry-leading performance** in gradient computation and quantum chemistry workflows:
158
198
159
199
| Framework | Time/Step | Method |
160
200
|-----------|-----------|--------|
@@ -410,29 +450,32 @@ result = circuit.with_noise("phase_damping", l=0.05).run(shots=1024)
410
450
411
451
## 📚 Comprehensive Example Library
412
452
413
-
TyxonQ includes **66 high-quality examples** covering:
453
+
TyxonQ includes **80+ high-quality examples** covering:
414
454
415
455
-**Variational Algorithms**: VQE, QAOA, VQD with SciPy/PyTorch optimization
0 commit comments