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.2.tar.gz (25.5 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.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qubecli-1.0.2.tar.gz
  • Upload date:
  • Size: 25.5 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.2.tar.gz
Algorithm Hash digest
SHA256 d2f0881f16a0ec247d419b8a27b96f37a0349f081bb1d4c14726819f63d9bb62
MD5 b4a332bef262a2b720a6548f58dddc34
BLAKE2b-256 38fd9ead3e490c31bee70432cc5651042f00d99797417f56857dd80d9fe74ae6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qubecli-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a523181dd8492c1050f0c2adc1fcb74e8835b731d405a8178c200dfdbf44b36e
MD5 248634b047b0a3133abafd46c64a9931
BLAKE2b-256 a77e590337f41e2a94ac9d8f44e9ca89b3fbbfb099ad3d7827412603aa3efcfa

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