This guide walks you through installing the QCOS quantum operating system and the SynapseX Console on your local machine from absolute scratch. We adopt an Open-Core / Hybrid Cloud model:
  • 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

  1. Homebrew (recommended): Open terminal and run:
  2. Python: QCOS requires Python 3.10 to 3.13. Install it using Homebrew:
  3. Node.js (for npm fallback):

Linux (Ubuntu/Debian)

  1. Python: Run the following commands to install Python 3.11 and pip:
  2. Node.js (for npm fallback):

Windows

  1. 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.
  2. Node.js: Download and run the LTS installer from nodejs.org.

2. CLI Installation

You can install the softqcos 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 with synapsex. When activating them locally, you will rename the executable to softqcos for use with the quantum tooling.

Activating Manual Binaries (macOS / Linux):

  1. Move the downloaded binary to a directory in your system path (e.g., /usr/local/bin/):
  2. Grant executable permissions:
  3. Verify the installation:

Activating Manual Binaries (Windows):

  1. Move the downloaded synapsex-win32-x64.exe to a directory of your choice, e.g., C:\Program Files\softqcos\softqcos.exe.
  2. Add that directory to your User Environment Variables Path list.
  3. 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:
To persist these variables permanently on Windows:
  1. Open PowerShell and run:
  2. Restart any open terminal windows to apply the changes.

5. Next Steps

Now that your paths and tools are configured, head over to the Quick Start guide to run your first circuit, or read the Hybrid Cloud guide to understand how to switch between local simulations and cloud hardware.