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.1.tar.gz (36.0 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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qubecli-1.0.1.tar.gz
  • Upload date:
  • Size: 36.0 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.1.tar.gz
Algorithm Hash digest
SHA256 1dc78895bc29e3dd80a0eba46e5e5a04e056ef2b397d4b3935f56504461024c3
MD5 118426f0521ac1a66a0cc4338a928e9f
BLAKE2b-256 7910c8161f210300f8dd5d09a6f80219d45209e8c4b979823fa318a0249e65ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qubecli-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a02120995f848a66e608949557daa1e99a4c60f2f928c205ed7de00d04259dfb
MD5 21196f11d5a451a6edd41c6544a6c0c2
BLAKE2b-256 1c201671d2d10ff4055ecad3f861f2413b725e328a3f8b08cce043ae5314d513

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