Skip to main content

CLI-QCOS - QCOS™ Command Line Interface

PyPI version Python 3.10+ License: Proprietary

QCOS™ CLI — Command-line interface for the Quantum Circuit Optimization Service by SoftQuantus.

📦 Installation

pip install softqcos

This will automatically install the softqcos-sdk dependency.

🚀 Quick Start

# Configure API access once. No shell export required.
softqcos login

# Verify local config and API connectivity
softqcos doctor

# Show the SoftQuantus product welcome screen
softqcos welcome

# Show help
softqcos --help

# Run GHZ state optimization
softqcosrun ghz --qubits 20 --max-iters 100

# Run benchmark
softqcosbenchmark --qubits 5,10,20,50 --backend aer

# Show version
softqcos --version

# Show system info
softqcos info

The CLI stores credentials in ~/.softqcos/config.json with file mode 0600. QCOS_API_KEY and QCOS_API_URL still work and override the saved config for CI/CD jobs.

📋 Commands

softqcosrun

Run quantum circuit optimization.

softqcosrun ghz --qubits 50 --max-iters 100 --backend aer
softqcosrun vqe --qubits 4 --cost energy

Options:

  • --qubits, -q: Number of qubits (default: 10)
  • --max-iters, -i: Maximum iterations (default: 100)
  • --backend, -b: Backend (aer, cirq, pennylane, braket)
  • --method, -m: Backend method (automatic, statevector, matrix_product_state)
  • --cost, -c: Cost function (correlation, bitstring, hybrid)
  • --output, -o: Save results to JSON file

softqcosbenchmark

Run benchmarks across multiple qubit counts.

softqcosbenchmark --qubits 5,10,20,50 --backend aer --output results.json

softqcosinfo

Show system and environment information.

softqcosinfo

softqcos login

Configure the production API URL and API key interactively:

softqcos login

Non-interactive setup:

softqcos login \
  --api-url https://platform.softquantus.com \
  --api-key sq-live-...

Show config:

softqcos config

Reset config:

softqcos config --reset

Run diagnostics:

softqcos doctor

softqcos api

Stable JSON-first commands for agents, MCP bridges, Cursor, Copilot, and scripts:

softqcos api workspace init --json
softqcos api workspace discover --json
softqcos api job validate --input jobs/bell.qcos.json --json
softqcos api job plan --input jobs/bell.qcos.json --json
softqcos api run local --input jobs/bell.qcos.json --json
softqcos api result summary --input results/<run_id>/summary.json --json

These commands return structured payloads with status, capability, artifacts, metrics, and next_actions so AI agents can continue workflows reliably.

QCOS GPU planning commands:

softqcos api gpu detect --json
softqcos api gpu benchmark --input circuits/bell.qasm --json
softqcos api gpu engine-detect --json
softqcos api gpu estimate-memory --qubits 30 --precision fp64 --json
softqcos api gpu plan --input circuits/bell.qasm --json
softqcos api gpu simulate --input circuits/bell.qasm --fallback-aer --json
softqcos api backend plan --input circuits/bell.qasm --json
softqcos api backend compare --input circuits/bell.qasm --execute-aer --json
softqcos api hybrid detect --json
softqcos api hybrid qec-plan --code surface --distance 5 --rounds 3 --json
softqcos api qlink plan-feedback-loop --qpu lab-qpu-1 --latency-budget-us 100 --qec --json

softqcosversion

Show version information.

softqcos--version

📄 License

QCOS™ is proprietary software by SoftQuantus innovative OÜ.

🏢 Company

SoftQuantus innovative OÜ Registry Code: 17048927 Address: Veskiposti tn 2-1002, Tallinn, 10138, Estonia

📞 Contact


© 2024-2025 SoftQuantus innovative OÜ. All Rights Reserved. QCOS™ is a trademark of SoftQuantus innovative OÜ.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

softqcos-3.7.0.tar.gz (74.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

softqcos-3.7.0-py3-none-any.whl (105.1 kB view details)

Uploaded Python 3

File details

Details for the file softqcos-3.7.0.tar.gz.

File metadata

  • Download URL: softqcos-3.7.0.tar.gz
  • Upload date:
  • Size: 74.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.7

File hashes

Hashes for softqcos-3.7.0.tar.gz
Algorithm Hash digest
SHA256 88c0bf58b44458f96170ee91c8d966bf787f316795e828b816c97b644c9c3d6f
MD5 1411f3becec29854d09f6dbad9e3bb4b
BLAKE2b-256 1b6265382c5e4b60411bf2ac2ac23d32002b8bcd8fef9613b0dec14a7423a149

See more details on using hashes here.

File details

Details for the file softqcos-3.7.0-py3-none-any.whl.

File metadata

  • Download URL: softqcos-3.7.0-py3-none-any.whl
  • Upload date:
  • Size: 105.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.7

File hashes

Hashes for softqcos-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad2565fe2e804810930a891581eaa8572c28a5d6d68a031122f531a0643642bc
MD5 ca1fab1a6bf31f38544f110d849477eb
BLAKE2b-256 055c558d1f61a62702fce64c5513b3dd555b95be8f2470468be1bdf53b9bf82e

See more details on using hashes here.

Release history Release notifications | RSS feed

3.8.2

1 file

3.8.1

1 file

3.8.0

1 file

This release

3.7.0 This release

2 files

3.6.0

1 file

3.5.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page