softqcos 3.7.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.
- softqcos-3.7.0/.gitignore +148 -0
- softqcos-3.7.0/PKG-INFO +211 -0
- softqcos-3.7.0/README.md +180 -0
- softqcos-3.7.0/pyproject.toml +73 -0
- softqcos-3.7.0/softqcos/__init__.py +23 -0
- softqcos-3.7.0/softqcos/__main__.py +6 -0
- softqcos-3.7.0/softqcos/backends.py +308 -0
- softqcos-3.7.0/softqcos/branding.py +52 -0
- softqcos-3.7.0/softqcos/commands/__init__.py +43 -0
- softqcos-3.7.0/softqcos/commands/_client.py +149 -0
- softqcos-3.7.0/softqcos/commands/acos.py +119 -0
- softqcos-3.7.0/softqcos/commands/admin.py +178 -0
- softqcos-3.7.0/softqcos/commands/algorithms.py +361 -0
- softqcos-3.7.0/softqcos/commands/api.py +742 -0
- softqcos-3.7.0/softqcos/commands/autopilot.py +154 -0
- softqcos-3.7.0/softqcos/commands/batch.py +211 -0
- softqcos-3.7.0/softqcos/commands/bench.py +131 -0
- softqcos-3.7.0/softqcos/commands/billing.py +167 -0
- softqcos-3.7.0/softqcos/commands/calibration.py +163 -0
- softqcos-3.7.0/softqcos/commands/chemistry.py +209 -0
- softqcos-3.7.0/softqcos/commands/circuits.py +220 -0
- softqcos-3.7.0/softqcos/commands/coherence.py +143 -0
- softqcos-3.7.0/softqcos/commands/compare.py +140 -0
- softqcos-3.7.0/softqcos/commands/dri.py +164 -0
- softqcos-3.7.0/softqcos/commands/energy.py +188 -0
- softqcos-3.7.0/softqcos/commands/evidence.py +163 -0
- softqcos-3.7.0/softqcos/commands/glassbox.py +216 -0
- softqcos-3.7.0/softqcos/commands/gpu_qpu.py +130 -0
- softqcos-3.7.0/softqcos/commands/isolation.py +112 -0
- softqcos-3.7.0/softqcos/commands/jobs.py +253 -0
- softqcos-3.7.0/softqcos/commands/ledger.py +182 -0
- softqcos-3.7.0/softqcos/commands/macro.py +106 -0
- softqcos-3.7.0/softqcos/commands/marketplace.py +149 -0
- softqcos-3.7.0/softqcos/commands/navcore.py +352 -0
- softqcos-3.7.0/softqcos/commands/network.py +169 -0
- softqcos-3.7.0/softqcos/commands/nvqlink.py +164 -0
- softqcos-3.7.0/softqcos/commands/provider_hub.py +186 -0
- softqcos-3.7.0/softqcos/commands/qec.py +182 -0
- softqcos-3.7.0/softqcos/commands/qec_service.py +139 -0
- softqcos-3.7.0/softqcos/commands/qubo.py +235 -0
- softqcos-3.7.0/softqcos/commands/research.py +236 -0
- softqcos-3.7.0/softqcos/commands/session.py +187 -0
- softqcos-3.7.0/softqcos/commands/stream.py +96 -0
- softqcos-3.7.0/softqcos/commands/use_cases.py +172 -0
- softqcos-3.7.0/softqcos/commands/visualize.py +293 -0
- softqcos-3.7.0/softqcos/commands/webhooks.py +114 -0
- softqcos-3.7.0/softqcos/commands/workflow.py +231 -0
- softqcos-3.7.0/softqcos/commands/zne.py +118 -0
- softqcos-3.7.0/softqcos/config.py +83 -0
- softqcos-3.7.0/softqcos/main.py +1063 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# QCOS .gitignore
|
|
3
|
+
# =============================================================================
|
|
4
|
+
|
|
5
|
+
# Environment (NEVER commit)
|
|
6
|
+
.env
|
|
7
|
+
.env.*
|
|
8
|
+
!.env.example
|
|
9
|
+
!.env.*.example
|
|
10
|
+
.env.local
|
|
11
|
+
.env.production
|
|
12
|
+
*.env
|
|
13
|
+
*.env.*
|
|
14
|
+
config/*.env
|
|
15
|
+
config/*.env.*
|
|
16
|
+
|
|
17
|
+
# AI context file (may contain local env references, use .ai-context.example instead)
|
|
18
|
+
.ai-context.md
|
|
19
|
+
|
|
20
|
+
# Python
|
|
21
|
+
__pycache__/
|
|
22
|
+
*.py[cod]
|
|
23
|
+
*$py.class
|
|
24
|
+
*.so
|
|
25
|
+
.Python
|
|
26
|
+
build/
|
|
27
|
+
develop-eggs/
|
|
28
|
+
build-output/
|
|
29
|
+
downloads/
|
|
30
|
+
eggs/
|
|
31
|
+
.eggs/
|
|
32
|
+
lib/
|
|
33
|
+
lib64/
|
|
34
|
+
parts/
|
|
35
|
+
sdist/
|
|
36
|
+
var/
|
|
37
|
+
wheels/
|
|
38
|
+
*.egg-info/
|
|
39
|
+
.installed.cfg
|
|
40
|
+
*.egg
|
|
41
|
+
|
|
42
|
+
# Virtual environments
|
|
43
|
+
.venv/
|
|
44
|
+
venv/
|
|
45
|
+
ENV/
|
|
46
|
+
|
|
47
|
+
# IDE
|
|
48
|
+
.idea/
|
|
49
|
+
.vscode/
|
|
50
|
+
*.swp
|
|
51
|
+
*.swo
|
|
52
|
+
*~
|
|
53
|
+
|
|
54
|
+
# Testing
|
|
55
|
+
.pytest_cache/
|
|
56
|
+
.coverage
|
|
57
|
+
htmlcov/
|
|
58
|
+
.tox/
|
|
59
|
+
.nox/
|
|
60
|
+
|
|
61
|
+
# Jupyter
|
|
62
|
+
.ipynb_checkpoints/
|
|
63
|
+
|
|
64
|
+
# OS
|
|
65
|
+
.DS_Store
|
|
66
|
+
Thumbs.db
|
|
67
|
+
|
|
68
|
+
# Frontend/Node
|
|
69
|
+
.next/
|
|
70
|
+
node_modules/
|
|
71
|
+
.cache/
|
|
72
|
+
|
|
73
|
+
# Docker
|
|
74
|
+
docker/*.tar.gz
|
|
75
|
+
|
|
76
|
+
# Nuitka build artifacts
|
|
77
|
+
*.build/
|
|
78
|
+
*.dist/
|
|
79
|
+
*.onefile-build/
|
|
80
|
+
|
|
81
|
+
# Results and logs
|
|
82
|
+
results/
|
|
83
|
+
logs/
|
|
84
|
+
*.log
|
|
85
|
+
*.jsonl
|
|
86
|
+
data/logs/
|
|
87
|
+
reports/
|
|
88
|
+
|
|
89
|
+
# Compiled binaries
|
|
90
|
+
softqcos-worker
|
|
91
|
+
softqcos-api
|
|
92
|
+
|
|
93
|
+
# Secrets
|
|
94
|
+
secrets/
|
|
95
|
+
config/licensing/bootstrap_keys/.passphrase
|
|
96
|
+
ops/licensing/keys/
|
|
97
|
+
ops/deploy/azure/.env*
|
|
98
|
+
scripts/**/.env*
|
|
99
|
+
*.pem
|
|
100
|
+
*.key
|
|
101
|
+
*.p12
|
|
102
|
+
*.pfx
|
|
103
|
+
*.crt
|
|
104
|
+
*.cer
|
|
105
|
+
*.kubeconfig
|
|
106
|
+
|
|
107
|
+
# Notebooks checkpoints
|
|
108
|
+
.ipynb_checkpoints/
|
|
109
|
+
docs-site/node_modules/
|
|
110
|
+
docs-site/build/
|
|
111
|
+
docs-site/.docusaurus/
|
|
112
|
+
**/.terraform/*
|
|
113
|
+
quantumlock.db
|
|
114
|
+
|
|
115
|
+
# LUMI Worker secrets
|
|
116
|
+
.claude/worktrees/
|
|
117
|
+
|
|
118
|
+
# Fern OpenAPI export
|
|
119
|
+
openapi.json
|
|
120
|
+
|
|
121
|
+
# Build artifacts and dist files
|
|
122
|
+
dist_test/
|
|
123
|
+
dist/
|
|
124
|
+
dist_temp/
|
|
125
|
+
dist-raw-cp*/
|
|
126
|
+
build/
|
|
127
|
+
softqcos-cli/dist/
|
|
128
|
+
softqcos-sdk/dist/
|
|
129
|
+
softquantus/dist/
|
|
130
|
+
data/artifacts/
|
|
131
|
+
run1.txt
|
|
132
|
+
run2.txt
|
|
133
|
+
scratch/
|
|
134
|
+
|
|
135
|
+
# Local databases and third-party research drops
|
|
136
|
+
*.db
|
|
137
|
+
*.sqlite
|
|
138
|
+
*.sqlite3
|
|
139
|
+
*.db-shm
|
|
140
|
+
*.db-wal
|
|
141
|
+
vendor/
|
|
142
|
+
|
|
143
|
+
# Additional secrets and keys
|
|
144
|
+
keys/
|
|
145
|
+
**/*.pem
|
|
146
|
+
**/*.key
|
|
147
|
+
**/*.db
|
|
148
|
+
/dist/
|
softqcos-3.7.0/PKG-INFO
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: softqcos
|
|
3
|
+
Version: 3.7.0
|
|
4
|
+
Summary: SoftQCOS™ CLI - Command-Line Interface for Quantum Circuit Optimization Service
|
|
5
|
+
Project-URL: Homepage, https://softquantus.com
|
|
6
|
+
Project-URL: Documentation, https://docs.softquantus.com
|
|
7
|
+
Project-URL: Portal, https://platform.softquantus.com
|
|
8
|
+
Project-URL: License, https://softquantus.com/legal/license
|
|
9
|
+
Project-URL: EULA, https://softquantus.com/legal/eula
|
|
10
|
+
Author-email: SoftQuantus innovative OÜ <support@softquantus.com>
|
|
11
|
+
License: Proprietary - SoftQuantus innovative OÜ
|
|
12
|
+
Keywords: cli,optimization,qaoa,qiskit,quantum,quantum-computing,softqcos,vqe
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Science/Research
|
|
17
|
+
Classifier: License :: Other/Proprietary License
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
24
|
+
Classifier: Typing :: Typed
|
|
25
|
+
Requires-Python: >=3.10
|
|
26
|
+
Requires-Dist: httpx>=0.24.0
|
|
27
|
+
Requires-Dist: rich>=13.0.0
|
|
28
|
+
Requires-Dist: softqcos-sdk>=3.6.0
|
|
29
|
+
Requires-Dist: typer>=0.9.0
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
# CLI-QCOS - QCOS™ Command Line Interface
|
|
33
|
+
|
|
34
|
+
[](https://pypi.org/project/softqcos/)
|
|
35
|
+
[](https://www.python.org/downloads/)
|
|
36
|
+
[](https://softquantus.com/legal/license)
|
|
37
|
+
|
|
38
|
+
**QCOS™ CLI** — Command-line interface for the Quantum Circuit Optimization Service by SoftQuantus.
|
|
39
|
+
|
|
40
|
+
## 📦 Installation
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
pip install softqcos
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
This will automatically install the `softqcos-sdk` dependency.
|
|
47
|
+
|
|
48
|
+
## 🚀 Quick Start
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# Configure API access once. No shell export required.
|
|
52
|
+
softqcos login
|
|
53
|
+
|
|
54
|
+
# Verify local config and API connectivity
|
|
55
|
+
softqcos doctor
|
|
56
|
+
|
|
57
|
+
# Show the SoftQuantus product welcome screen
|
|
58
|
+
softqcos welcome
|
|
59
|
+
|
|
60
|
+
# Show help
|
|
61
|
+
softqcos --help
|
|
62
|
+
|
|
63
|
+
# Run GHZ state optimization
|
|
64
|
+
softqcosrun ghz --qubits 20 --max-iters 100
|
|
65
|
+
|
|
66
|
+
# Run benchmark
|
|
67
|
+
softqcosbenchmark --qubits 5,10,20,50 --backend aer
|
|
68
|
+
|
|
69
|
+
# Show version
|
|
70
|
+
softqcos --version
|
|
71
|
+
|
|
72
|
+
# Show system info
|
|
73
|
+
softqcos info
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The CLI stores credentials in `~/.softqcos/config.json` with file mode `0600`.
|
|
77
|
+
`QCOS_API_KEY` and `QCOS_API_URL` still work and override the saved config for CI/CD jobs.
|
|
78
|
+
|
|
79
|
+
## 📋 Commands
|
|
80
|
+
|
|
81
|
+
### `softqcosrun`
|
|
82
|
+
|
|
83
|
+
Run quantum circuit optimization.
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
softqcosrun ghz --qubits 50 --max-iters 100 --backend aer
|
|
87
|
+
softqcosrun vqe --qubits 4 --cost energy
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**Options:**
|
|
91
|
+
- `--qubits, -q`: Number of qubits (default: 10)
|
|
92
|
+
- `--max-iters, -i`: Maximum iterations (default: 100)
|
|
93
|
+
- `--backend, -b`: Backend (aer, cirq, pennylane, braket)
|
|
94
|
+
- `--method, -m`: Backend method (automatic, statevector, matrix_product_state)
|
|
95
|
+
- `--cost, -c`: Cost function (correlation, bitstring, hybrid)
|
|
96
|
+
- `--output, -o`: Save results to JSON file
|
|
97
|
+
|
|
98
|
+
### `softqcosbenchmark`
|
|
99
|
+
|
|
100
|
+
Run benchmarks across multiple qubit counts.
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
softqcosbenchmark --qubits 5,10,20,50 --backend aer --output results.json
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### `softqcosinfo`
|
|
107
|
+
|
|
108
|
+
Show system and environment information.
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
softqcosinfo
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### `softqcos login`
|
|
115
|
+
|
|
116
|
+
Configure the production API URL and API key interactively:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
softqcos login
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Non-interactive setup:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
softqcos login \
|
|
126
|
+
--api-url https://platform.softquantus.com \
|
|
127
|
+
--api-key sq-live-...
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Show config:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
softqcos config
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Reset config:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
softqcos config --reset
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Run diagnostics:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
softqcos doctor
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### `softqcos api`
|
|
149
|
+
|
|
150
|
+
Stable JSON-first commands for agents, MCP bridges, Cursor, Copilot, and scripts:
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
softqcos api workspace init --json
|
|
154
|
+
softqcos api workspace discover --json
|
|
155
|
+
softqcos api job validate --input jobs/bell.qcos.json --json
|
|
156
|
+
softqcos api job plan --input jobs/bell.qcos.json --json
|
|
157
|
+
softqcos api run local --input jobs/bell.qcos.json --json
|
|
158
|
+
softqcos api result summary --input results/<run_id>/summary.json --json
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
These commands return structured payloads with `status`, `capability`, `artifacts`,
|
|
162
|
+
`metrics`, and `next_actions` so AI agents can continue workflows reliably.
|
|
163
|
+
|
|
164
|
+
QCOS GPU planning commands:
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
softqcos api gpu detect --json
|
|
168
|
+
softqcos api gpu benchmark --input circuits/bell.qasm --json
|
|
169
|
+
softqcos api gpu engine-detect --json
|
|
170
|
+
softqcos api gpu estimate-memory --qubits 30 --precision fp64 --json
|
|
171
|
+
softqcos api gpu plan --input circuits/bell.qasm --json
|
|
172
|
+
softqcos api gpu simulate --input circuits/bell.qasm --fallback-aer --json
|
|
173
|
+
softqcos api backend plan --input circuits/bell.qasm --json
|
|
174
|
+
softqcos api backend compare --input circuits/bell.qasm --execute-aer --json
|
|
175
|
+
softqcos api hybrid detect --json
|
|
176
|
+
softqcos api hybrid qec-plan --code surface --distance 5 --rounds 3 --json
|
|
177
|
+
softqcos api qlink plan-feedback-loop --qpu lab-qpu-1 --latency-budget-us 100 --qec --json
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### `softqcosversion`
|
|
181
|
+
|
|
182
|
+
Show version information.
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
softqcos--version
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
## 📄 License
|
|
189
|
+
|
|
190
|
+
QCOS™ is proprietary software by SoftQuantus innovative OÜ.
|
|
191
|
+
|
|
192
|
+
- **EULA:** https://softquantus.com/legal/eula
|
|
193
|
+
- **Terms:** https://softquantus.com/legal/terms
|
|
194
|
+
- **Privacy:** https://softquantus.com/legal/privacy
|
|
195
|
+
|
|
196
|
+
## 🏢 Company
|
|
197
|
+
|
|
198
|
+
**SoftQuantus innovative OÜ**
|
|
199
|
+
Registry Code: 17048927
|
|
200
|
+
Address: Veskiposti tn 2-1002, Tallinn, 10138, Estonia
|
|
201
|
+
|
|
202
|
+
## 📞 Contact
|
|
203
|
+
|
|
204
|
+
- **Support:** support@softquantus.com
|
|
205
|
+
- **Licensing:** licensing@softquantus.com
|
|
206
|
+
- **Legal:** legal@softquantus.com
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
© 2024-2025 SoftQuantus innovative OÜ. All Rights Reserved.
|
|
211
|
+
QCOS™ is a trademark of SoftQuantus innovative OÜ.
|
softqcos-3.7.0/README.md
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# CLI-QCOS - QCOS™ Command Line Interface
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/softqcos/)
|
|
4
|
+
[](https://www.python.org/downloads/)
|
|
5
|
+
[](https://softquantus.com/legal/license)
|
|
6
|
+
|
|
7
|
+
**QCOS™ CLI** — Command-line interface for the Quantum Circuit Optimization Service by SoftQuantus.
|
|
8
|
+
|
|
9
|
+
## 📦 Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install softqcos
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
This will automatically install the `softqcos-sdk` dependency.
|
|
16
|
+
|
|
17
|
+
## 🚀 Quick Start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Configure API access once. No shell export required.
|
|
21
|
+
softqcos login
|
|
22
|
+
|
|
23
|
+
# Verify local config and API connectivity
|
|
24
|
+
softqcos doctor
|
|
25
|
+
|
|
26
|
+
# Show the SoftQuantus product welcome screen
|
|
27
|
+
softqcos welcome
|
|
28
|
+
|
|
29
|
+
# Show help
|
|
30
|
+
softqcos --help
|
|
31
|
+
|
|
32
|
+
# Run GHZ state optimization
|
|
33
|
+
softqcosrun ghz --qubits 20 --max-iters 100
|
|
34
|
+
|
|
35
|
+
# Run benchmark
|
|
36
|
+
softqcosbenchmark --qubits 5,10,20,50 --backend aer
|
|
37
|
+
|
|
38
|
+
# Show version
|
|
39
|
+
softqcos --version
|
|
40
|
+
|
|
41
|
+
# Show system info
|
|
42
|
+
softqcos info
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
The CLI stores credentials in `~/.softqcos/config.json` with file mode `0600`.
|
|
46
|
+
`QCOS_API_KEY` and `QCOS_API_URL` still work and override the saved config for CI/CD jobs.
|
|
47
|
+
|
|
48
|
+
## 📋 Commands
|
|
49
|
+
|
|
50
|
+
### `softqcosrun`
|
|
51
|
+
|
|
52
|
+
Run quantum circuit optimization.
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
softqcosrun ghz --qubits 50 --max-iters 100 --backend aer
|
|
56
|
+
softqcosrun vqe --qubits 4 --cost energy
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Options:**
|
|
60
|
+
- `--qubits, -q`: Number of qubits (default: 10)
|
|
61
|
+
- `--max-iters, -i`: Maximum iterations (default: 100)
|
|
62
|
+
- `--backend, -b`: Backend (aer, cirq, pennylane, braket)
|
|
63
|
+
- `--method, -m`: Backend method (automatic, statevector, matrix_product_state)
|
|
64
|
+
- `--cost, -c`: Cost function (correlation, bitstring, hybrid)
|
|
65
|
+
- `--output, -o`: Save results to JSON file
|
|
66
|
+
|
|
67
|
+
### `softqcosbenchmark`
|
|
68
|
+
|
|
69
|
+
Run benchmarks across multiple qubit counts.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
softqcosbenchmark --qubits 5,10,20,50 --backend aer --output results.json
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### `softqcosinfo`
|
|
76
|
+
|
|
77
|
+
Show system and environment information.
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
softqcosinfo
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### `softqcos login`
|
|
84
|
+
|
|
85
|
+
Configure the production API URL and API key interactively:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
softqcos login
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Non-interactive setup:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
softqcos login \
|
|
95
|
+
--api-url https://platform.softquantus.com \
|
|
96
|
+
--api-key sq-live-...
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Show config:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
softqcos config
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Reset config:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
softqcos config --reset
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Run diagnostics:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
softqcos doctor
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### `softqcos api`
|
|
118
|
+
|
|
119
|
+
Stable JSON-first commands for agents, MCP bridges, Cursor, Copilot, and scripts:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
softqcos api workspace init --json
|
|
123
|
+
softqcos api workspace discover --json
|
|
124
|
+
softqcos api job validate --input jobs/bell.qcos.json --json
|
|
125
|
+
softqcos api job plan --input jobs/bell.qcos.json --json
|
|
126
|
+
softqcos api run local --input jobs/bell.qcos.json --json
|
|
127
|
+
softqcos api result summary --input results/<run_id>/summary.json --json
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
These commands return structured payloads with `status`, `capability`, `artifacts`,
|
|
131
|
+
`metrics`, and `next_actions` so AI agents can continue workflows reliably.
|
|
132
|
+
|
|
133
|
+
QCOS GPU planning commands:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
softqcos api gpu detect --json
|
|
137
|
+
softqcos api gpu benchmark --input circuits/bell.qasm --json
|
|
138
|
+
softqcos api gpu engine-detect --json
|
|
139
|
+
softqcos api gpu estimate-memory --qubits 30 --precision fp64 --json
|
|
140
|
+
softqcos api gpu plan --input circuits/bell.qasm --json
|
|
141
|
+
softqcos api gpu simulate --input circuits/bell.qasm --fallback-aer --json
|
|
142
|
+
softqcos api backend plan --input circuits/bell.qasm --json
|
|
143
|
+
softqcos api backend compare --input circuits/bell.qasm --execute-aer --json
|
|
144
|
+
softqcos api hybrid detect --json
|
|
145
|
+
softqcos api hybrid qec-plan --code surface --distance 5 --rounds 3 --json
|
|
146
|
+
softqcos api qlink plan-feedback-loop --qpu lab-qpu-1 --latency-budget-us 100 --qec --json
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### `softqcosversion`
|
|
150
|
+
|
|
151
|
+
Show version information.
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
softqcos--version
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## 📄 License
|
|
158
|
+
|
|
159
|
+
QCOS™ is proprietary software by SoftQuantus innovative OÜ.
|
|
160
|
+
|
|
161
|
+
- **EULA:** https://softquantus.com/legal/eula
|
|
162
|
+
- **Terms:** https://softquantus.com/legal/terms
|
|
163
|
+
- **Privacy:** https://softquantus.com/legal/privacy
|
|
164
|
+
|
|
165
|
+
## 🏢 Company
|
|
166
|
+
|
|
167
|
+
**SoftQuantus innovative OÜ**
|
|
168
|
+
Registry Code: 17048927
|
|
169
|
+
Address: Veskiposti tn 2-1002, Tallinn, 10138, Estonia
|
|
170
|
+
|
|
171
|
+
## 📞 Contact
|
|
172
|
+
|
|
173
|
+
- **Support:** support@softquantus.com
|
|
174
|
+
- **Licensing:** licensing@softquantus.com
|
|
175
|
+
- **Legal:** legal@softquantus.com
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
© 2024-2025 SoftQuantus innovative OÜ. All Rights Reserved.
|
|
180
|
+
QCOS™ is a trademark of SoftQuantus innovative OÜ.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "softqcos"
|
|
7
|
+
version = "3.7.0"
|
|
8
|
+
description = "SoftQCOS™ CLI - Command-Line Interface for Quantum Circuit Optimization Service"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { text = "Proprietary - SoftQuantus innovative OÜ" }
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "SoftQuantus innovative OÜ", email = "support@softquantus.com" },
|
|
14
|
+
]
|
|
15
|
+
keywords = [
|
|
16
|
+
"quantum",
|
|
17
|
+
"quantum-computing",
|
|
18
|
+
"cli",
|
|
19
|
+
"softqcos",
|
|
20
|
+
"optimization",
|
|
21
|
+
"vqe",
|
|
22
|
+
"qaoa",
|
|
23
|
+
"qiskit",
|
|
24
|
+
]
|
|
25
|
+
classifiers = [
|
|
26
|
+
"Development Status :: 5 - Production/Stable",
|
|
27
|
+
"Environment :: Console",
|
|
28
|
+
"Intended Audience :: Science/Research",
|
|
29
|
+
"Intended Audience :: Developers",
|
|
30
|
+
"License :: Other/Proprietary License",
|
|
31
|
+
"Operating System :: OS Independent",
|
|
32
|
+
"Programming Language :: Python :: 3",
|
|
33
|
+
"Programming Language :: Python :: 3.10",
|
|
34
|
+
"Programming Language :: Python :: 3.11",
|
|
35
|
+
"Programming Language :: Python :: 3.12",
|
|
36
|
+
"Topic :: Scientific/Engineering :: Physics",
|
|
37
|
+
"Typing :: Typed",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
dependencies = [
|
|
41
|
+
"softqcos-sdk>=3.6.0",
|
|
42
|
+
"typer>=0.9.0",
|
|
43
|
+
"rich>=13.0.0",
|
|
44
|
+
"httpx>=0.24.0",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
[project.scripts]
|
|
48
|
+
softqcos = "softqcos.main:main"
|
|
49
|
+
|
|
50
|
+
[project.urls]
|
|
51
|
+
Homepage = "https://softquantus.com"
|
|
52
|
+
Documentation = "https://docs.softquantus.com"
|
|
53
|
+
Portal = "https://platform.softquantus.com"
|
|
54
|
+
License = "https://softquantus.com/legal/license"
|
|
55
|
+
EULA = "https://softquantus.com/legal/eula"
|
|
56
|
+
|
|
57
|
+
[tool.hatch.build.targets.sdist]
|
|
58
|
+
include = ["/softqcos", "/README.md"]
|
|
59
|
+
|
|
60
|
+
[tool.hatch.build.targets.wheel]
|
|
61
|
+
packages = ["softqcos"]
|
|
62
|
+
|
|
63
|
+
[tool.ruff]
|
|
64
|
+
target-version = "py310"
|
|
65
|
+
line-length = 100
|
|
66
|
+
|
|
67
|
+
[tool.ruff.lint]
|
|
68
|
+
select = ["E", "W", "F", "I", "B", "C4", "UP"]
|
|
69
|
+
ignore = ["E501", "B008"]
|
|
70
|
+
|
|
71
|
+
[tool.black]
|
|
72
|
+
line-length = 100
|
|
73
|
+
target-version = ["py310", "py311", "py312"]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# SoftQCOS™ CLI Module
|
|
2
|
+
# Copyright © 2024-2026 SoftQuantus innovative OÜ. All Rights Reserved.
|
|
3
|
+
"""
|
|
4
|
+
SoftQCOS - Command-line interface for QCOS™ Quantum Circuit Optimization Service.
|
|
5
|
+
|
|
6
|
+
QCOS™ is a trademark of SoftQuantus innovative OÜ.
|
|
7
|
+
License: https://softquantus.com/legal/license
|
|
8
|
+
|
|
9
|
+
Usage:
|
|
10
|
+
pip install softqcos
|
|
11
|
+
softqcos --help
|
|
12
|
+
softqcos version
|
|
13
|
+
softqcos info
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
__version__ = "3.7.0"
|
|
17
|
+
__author__ = "SoftQuantus innovative OÜ"
|
|
18
|
+
__email__ = "support@softquantus.com"
|
|
19
|
+
__license__ = "Proprietary"
|
|
20
|
+
|
|
21
|
+
from softqcos.main import app, main
|
|
22
|
+
|
|
23
|
+
__all__ = ["app", "main", "__version__"]
|