CLI Command Manual

This page provides the full operational manual for key commands inside the softqcos suite. Use these commands to manage systems, execute workloads, inspect calibrations, and audit budgets.

1. Authentication & System Diagnostics

softqcos login

Initialize terminal credentials against the active identity router:
  • Flags:
    • --api-key / -k: The organization Bearer token.
    • --api-url / -u: Destination gateway router URL.

softqcos doctor

Verify local environment dependencies, clock skew, and internet availability:
Sample Output:

2. Workload & QASM Execution

softqcos jobs submit

Submit raw OpenQASM circuits for processing:
  • Flags:
    • --circuit / -q: Path to the OpenQASM circuit file.
    • --backend / -b: Target execution engine (e.g., simulator_aer, rigetti.aspen_m3, ionq.aria). Default: simulator_aer.
    • --shots / -s: Measurement shots (Default: 1024).
Real-QPU and priced submissions print an approval prompt: softqcos jobs approve JOB_ID --token APPROVAL_TOKEN.

softqcos jobs

Manage submitted workload runs:

3. Libraries & Algorithms

Execute standard quantum routines without hand-crafting low-level QASM circuits:

softqcos algorithms grover

Perform database lookup simulation using Grover’s search:
  • Parameters:
    • TARGET (positional): Binary value to isolate in the search space.
    • --qubits / -q: Register size (defaults to the target’s length).
    • --shots / -s: Measurement shots.

softqcos algorithms shor

Simulate modular factoring math:

4. Calibration & Quantum Error Correction

Verify and configure hardware mitigation metrics:

softqcos calibration

Retrieve device calibration state and qubit info:
The device state includes per-qubit coherence figures (T1/T2) and gate fidelities as reported by the provider’s latest calibration.

softqcos qec

Extract and decode stabilizer syndromes to diagnose errors:

5. Ledger & Resource Budgeting

softqcos ledger estimate

Dry-run a computational task to determine its budget usage before submission:
The estimate reports the credit reservation for the job; the submit response itself also carries credits_required and approval_required before anything runs.

softqcos ledger usage

Inspect organization resource utilization:
Related: softqcos ledger audit and softqcos ledger chargeback generate the corresponding reports.