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 convenience functions to handle compilation, translation, parameter arithmetic rewriting, and results collection.
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.
The result of executing an Executable via Executable::execute_on_qvm.

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.