- Open-Core Local Mode (Free): Runs simulations on your own laptop/server using CPU or GPU resources. No computing credits are charged.
- Hybrid Cloud Mode (SaaS/Paid): Routes execution jobs to public QPU providers (IBM Quantum, Rigetti, IonQ, Quantinuum, Pasqal) or cloud GPU clusters managed by SoftQuantus.
1. Open-Core Local Mode
In Local Mode, QCOS runs directly inside your infrastructure or on your development machine. This is ideal for development, testing, and debugging circuits before submitting them to expensive quantum processors.Local CPU Simulation
By default, the SDK and CLI will execute circuits using the built-in CPU statevector simulator.- Engine: Qiskit Aer
- Limits: Configured by your license tier (e.g., Trial is restricted to 10 qubits, Professional allows up to 50 qubits).
- Execution Cost: Free
Local GPU Simulation
For larger circuits, you can run QCOS on GPU-accelerated local instances (utilizing CUDA/NVIDIA hardware). To execute using local GPU simulation:- Ensure NVIDIA CUDA Toolkit is installed and your system has a compatible GPU (e.g., T4, A10, A100).
- Set the execution target backend to
aer_simulator_gpuin your circuit submission:
Running the Local Worker Daemon
If you are running QCOS in an enterprise/on-premise hybrid setup, you can launch a local worker daemon to process jobs from your internal queues:2. Hybrid Cloud Mode
When you promote your workload to cloud execution, QCOS acts as an intelligent control plane, handling routing, queuing, and retrieval.Cloud Providers & Plans
Your allowed cloud backends are determined by your SoftQuantus subscription tier:Promoting Jobs to Cloud QPU
To run on cloud hardware, simply change your backend target name to a QPU identifier and submit via the CLI/SDK:3. QuantumLock Licensing
QuantumLock controls commercial entitlements and limits (such as maximum qubits and allowed backends).Activating Your License
When you purchase a QCOS License, you receive a license key in the formatQLOCK-XXXX-XXXX-XXXX-XXXX. You must exchange this key for a local signed license file:
.qlicense file containing cryptographic signatures (RSA-4096 + post-quantum ML-DSA) to your machine:
- Default Path:
~/.softqcos/license.qlicense
Validation Modes
You can configure how the licensing engine validates your entitlement by setting theQUANTUMLOCK_VALIDATION_MODE environment variable:
online: Every execution validates the license directly with the SoftQuantus API. Best for cloud-connected servers.offline: The engine verifies the cryptographic signature of the local.qlicensefile completely offline. Best for secure, air-gapped systems.hybrid(Default): The engine validates the license signature offline locally for speed, but checks in with the online API periodically.
Offline Grace Period
In hybrid mode, if the licensing engine cannot connect to the internet (e.g., due to a temporary network drop), it permits a 7-day offline grace period. During this period, local simulation features remain fully functional. If connection isn’t restored within 7 days, local runs will be blocked until a successful check-in occurs.4. Usage Walkthrough
Here is a full step-by-step example of switching from a local simulation to cloud QPU execution.Step 1: Create a Circuit File
Save the following OpenQASM circuit asbell.qasm (a standard two-qubit entangled state):