Core module (qiskit_serverless.core)

Qiskit Serverless core module classes and functions

Core abstractions

ServerlessClient([host, version, token, ...])

A client for connecting to a specified host.

IBMServerlessClient([token, name, instance, ...])

A client for connecting to the IBM serverless host.

BaseClient([host, token, instance, channel])

A client class for specifying custom compute resources.

Job(job_id, job_service[, raw_data])

Job.

save_result(result)

Saves job results.

QiskitPattern(title[, provider, entrypoint, ...])

[Deprecated since version 0.10.0] Use QiskitFunction instead.

QiskitFunction(title[, provider, ...])

Serverless QiskitPattern.

is_running_in_serverless()

Return True if running as a Qiskit serverless program, False otherwise.

get_runtime_service([channel, token, ...])

Get a QiskitRuntimeService wrapped into a ServerlessRuntimeService instance that allows to associate runtime job ids to serverless job ids.