qbraid_core.services.quantum.QuantumClient

class qbraid_core.services.quantum.QuantumClient(*args, **kwargs)

Client for interacting with qBraid quantum services.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

cancel_job([qbraid_id, object_id])

Cancels the quantum job with the given qBraid ID.

create_job(data)

Creates a new quantum job with the given data.

estimate_cost(device_id[, shots, exec_min])

Estimate the cost of running a quantum job on a specified device in qBraid credits, where 1 credit equals $0.01 USD.

get_device([qbraid_id, vendor_id, object_id])

Returns the metadata corresponding to the specified quantum device.

get_job([qbraid_id, vendor_id, object_id])

Returns the metadata corresponding to the specified quantum job.

get_job_results(qbraid_id[, max_retries, ...])

Returns the results of the quantum job with the given qBraid ID.

qbraid_jobs_state([device_lib])

Checks if qBraid Quantum Jobs are enabled in the current environment for the specified device library.

search_devices([query])

Returns a list of quantum devices that match the given query filters.

search_jobs([query])

Returns a list of quantum jobs run by the user that match the given query filters.

user_credits_value()

Get the current user's qBraid credits value.

Attributes

session

The QbraidSession used to make requests.