The Rigetti QCS API
Last updated
Was this helpful?
Last updated
Was this helpful?
Rigetti QCS offers a stable, performant web API for access to QPUs and associated data. This API is served in two parts:
An OpenAPI-specified JSON HTTP API for management of accounts, reservations, and QPU data to include architecture and calibrations.
a gRPC-based API for interaction with the QPUs, to include translation. This is for the benefit of performance, streaming capabilities, and the efficient transfer of large binary data.
gRPC
OpenAPI
Rigetti offers tools in several languages. See our open-source landing page for more information. As a rule of thumb:
If you're working in Python and...
...you're looking to run experiments, use forest-benchmarking
if it contains utilities you find useful, and otherwise pyQuil
...you're looking to run programs with a simple utility, use qcs
...you're looking to interact with our API directly, use the qcs-api-client
If you're working in Rust, or want to create bindings for a different language (e.g. Julia), and...
...you're looking to use the QPU to run programs, use qcs
...you're looking to interact with the API directly, use the qcs-api-client-*
suite of packages