- Local simulation (using CPU/GPU) is completely free and executes locally on your hardware.
- Cloud executions (routing to QPUs like IBM Quantum, IonQ, Rigetti, or HPC clusters like LUMI) submit jobs securely to our cloud endpoints.
1. Prerequisites Setup
Before installing QCOS, ensure you have the required runtimes installed for your operating system.macOS
- Homebrew (recommended): Open terminal and run:
- Python: QCOS requires Python 3.10 to 3.13. Install it using Homebrew:
- Node.js (for npm fallback):
Linux (Ubuntu/Debian)
- Python: Run the following commands to install Python 3.11 and pip:
- Node.js (for npm fallback):
Windows
- Python:
- Download the official installer for Python 3.11+ from python.org.
- CRITICAL: During installation, check the box that says “Add Python to PATH” before clicking install.
- Node.js: Download and run the LTS installer from nodejs.org.
2. CLI Installation
You can install thesoftqcos command-line interface (CLI) using automated script installers or by manually downloading the compiled standalone binary.
Option A: Automated Terminal Install (macOS / Linux)
Run the following command in your terminal. This script automatically detects your operating system and architecture, downloads the correct precompiled binary, and installs it to/usr/local/bin/softqcos:
Option B: Automated PowerShell Install (Windows)
Open PowerShell as an Administrator and execute:Option C: Manual Binary Installation (All OS)
If you prefer not to use the automated installers, or are operating in an offline environment, you can download the standalone compiled binaries directly.Note on Binary Naming: The QCOS CLI and SynapseX agents share the same high-performance, compiled backend. Therefore, the binaries downloaded from our blob storage are prefixed withsynapsex. When activating them locally, you will rename the executable tosoftqcosfor use with the quantum tooling.
Activating Manual Binaries (macOS / Linux):
- Move the downloaded binary to a directory in your system path (e.g.,
/usr/local/bin/): - Grant executable permissions:
- Verify the installation:
Activating Manual Binaries (Windows):
- Move the downloaded
synapsex-win32-x64.exeto a directory of your choice, e.g.,C:\Program Files\softqcos\softqcos.exe. - Add that directory to your User Environment Variables
Pathlist. - Open a new PowerShell terminal and verify:
3. Python SDK & CLI Installation
To install or upgrade the QCOS Python SDK and CLI on your workstation without dependency conflicts:4. Persisting Environment Variables
To authorize CLI, SDK, and local worker actions, you must configure your API keys and validation mode. These variables must be set correctly, or commands will return unauthorized errors.macOS & Linux (Bash/Zsh)
To ensure these variables persist across system restarts, add them to your shell profile configuration (~/.zshrc for zsh, or ~/.bashrc for bash):
Windows (PowerShell)
To set environment variables for the current PowerShell session:- Open PowerShell and run:
- Restart any open terminal windows to apply the changes.