Crate qcs

source · []
Expand description

This crate is the primary Rust API for interacting with Rigetti products. Specifically, this crate allows you to run Quil programs against real QPUs or a QVM using Executable.

Modules

This module provides a small interface for doing compilation, translation, and execution.
This module is used for loading configuration that will be used to connect either to real QPUs (and supporting services) or the QVM.
This module contains all the functionality for running Quil programs on a real QPU. Specifically, the [Execution] struct in this module.

Structs

The builder interface for executing Quil programs on QVMs and QPUs.
The result of calling Executable::submit_to_qpu. Represents a quantum program running on a QPU. Can be passed to Executable::retrieve_results to retrieve the results of the job.

Enums

The possible errors which can be returned by Executable::execute_on_qpu and Executable::execute_on_qvm..
The external services that this SDK may connect to. Used to differentiate between networking issues in Error::Connection.