Installation¶
Quick Install¶
This installs the core SDK with the local simulator. No external dependencies beyond NumPy are required.
Optional Dependencies¶
QuantSDK uses optional dependency groups so you only install what you need:
Development Install¶
For contributing or development:
git clone https://github.com/TheQuantAI/quantsdk.git
cd quantsdk
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev,docs]"
Verify Installation¶
import quantsdk as qs
print(qs.__version__) # 0.1.0-dev
# Quick smoke test
circuit = qs.Circuit(1).h(0).measure_all()
result = qs.run(circuit, shots=100)
print(result.counts) # {'0': ~50, '1': ~50}
Python Version Support¶
| Python Version | Status |
|---|---|
| 3.10 | Supported |
| 3.11 | Supported |
| 3.12 | Recommended |
| 3.13 | Supported |
| < 3.10 | Not supported |
Troubleshooting¶
ImportError: No module named 'quantsdk'¶
Make sure you have activated the correct virtual environment:
Qiskit import errors¶
If you see errors about Qiskit, install the interop extras:
IBM Backend authentication¶
For IBM Quantum access, you need an API token:
Get your token at quantum.ibm.com.