Skip to main content

QubeCore CLI — Command Line Interface for QubeCore

Project description

QubeCli

Command Line Interface for QubeCore — Quantum Computing Operating System.

Overview

QubeCli provides a terminal-based interface for submitting and managing quantum jobs on QubeCore. Built on qubecore-client.

Requirements

  • Python 3.11+
  • QubeCore Server running and accessible

Installation

pip install qubecli

Quick Start

# Set server address
qubecore config set host 192.168.1.100:50051

# Submit a job (use single quotes to avoid shell interpretation of \n)
qubecore submit --backend backend1 --circuit 'OPENQASM 2.0;\ninclude "qelib1.inc";\nqreg q[2];\ncreg c[2];\nh q[0];\ncx q[0],q[1];\nmeasure q -> c;' --shots 100

# Check status
qubecore status --job-id <job_id>

# Fetch result
qubecore result --job-id <job_id>

# Cancel job
qubecore cancel --job-id <job_id>

Commands

Version

qubecore -v
qubecore --version

Server Configuration

qubecore config set host 192.168.1.100:50051
qubecore config get
qubecore config get host
qubecore config unset host

Job Commands

# Submit
qubecore submit --backend <backend> --circuit <circuit_string> --shots <n>
qubecore submit --backend backend1 --circuit '...' --shots 100 --priority 2 --optimization-level 1

# Status
qubecore status --job-id <job_id>

# Result
qubecore result --job-id <job_id>

# Cancel (PENDING 상태일 때만 가능)
qubecore cancel --job-id <job_id>

One-time server override:

qubecore --host 10.0.0.1:50051 submit --backend backend1 --circuit "..." --shots 100

Options

submit

Option Required Description
--backend Yes 백엔드 이름 (backend1, kreo.sc-20 등)
--circuit Yes 회로 문자열 (QASM2/QASM3/JSON)
--shots Yes 실행 횟수
--priority No 우선순위 1~4 (1=CRITICAL, 2=HIGH, 3=NORMAL, 4=LOW)
--optimization-level No 최적화 레벨 0~3

Compatibility

qubecli qubecore-client qubecore
1.x 1.x 1.x

License

MIT

Project details


Download files

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

Source Distribution

qubecli-1.0.0.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

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

qubecli-1.0.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file qubecli-1.0.0.tar.gz.

File metadata

  • Download URL: qubecli-1.0.0.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for qubecli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8cf3612206170971b709e3b1e0231838055b3a45d63ced81ff60263a4f004f1b
MD5 4c17f8b03f9300f5e99697f511630e7e
BLAKE2b-256 e2204514ee2eabd128ed37b32cdf78b686174bc1b53dd0912370041dc5006c40

See more details on using hashes here.

File details

Details for the file qubecli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: qubecli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for qubecli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f29323a910d6ed067f17ce5078e1f8057f1967239444de408cf482404dfcc257
MD5 af2fbcd2730643e8e660a55d51ed2ac0
BLAKE2b-256 08f7cabf250d41bb7bd7377a9a39be4075cd8dc2916397ec15ad3f27c5aca27d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page