LogoLogo
  • Welcome to Quantum Cloud Services
  • Getting Started
    • Set up your environment
      • JupyterLab IDE
      • Install Locally
        • Quil SDK Docker Image
    • Quil SDK Overview
    • Running your first Quantum Program
  • Guides
    • Quil
      • What is Quil?
      • Language Support
      • Dynamic Control Flow
      • Customizing Program Readout
    • QPU vs. Simulator (QVM)
    • How to Use Rigetti QPUs
    • Access a QPU
      • QPU Reservations
      • On-Demand Access
      • QCS QPU Gateway
    • QCS Group Accounts
    • Interactive Tutorials
    • How Programs Are Built & Run
      • Execution and Request timeouts
    • The Lifecycle of a Program
    • The Rigetti QCS API
    • Using the QCS CLI
      • Using the Legacy QCS CLI
    • QCS Credentials
    • Benchmarking and Fidelity
  • Troubleshooting
    • Gathering Diagnostics
    • Report an Issue
  • Glossary
  • FAQ
  • References
    • pyQuil Reference
    • QCS API Specification
    • QCS CLI Reference
    • QCS Client Configuration
    • Quil / Quil-T Specification
    • quilc Reference
    • quil-rs Reference
    • QVM Reference
    • Rigetti Module for Cirq
    • Rigetti Provider for Qiskit
Powered by GitBook
On this page
  • The QCS SDK
  • quil-rs and quil-py
  • What next?

Was this helpful?

  1. Getting Started

Running your first Quantum Program

PreviousQuil SDK OverviewNextGuides

Last updated 1 year ago

Was this helpful?

How you build and run quantum programs largely depends on what library you are using. For most users, we recommend pyQuil. Head to to get started!

If you want to work at a lower level than pyQuil, you can consider using our other libraries.

Unlike pyQuil, these packages are pre-1.0 and breaking changes can occur between minor versions.

The QCS SDK

The QCS SDK is a library written for Rust and Python. It offers an interface for interacting with quilc, QVM, and QCS. There is both a high level API for the compile-and-execute workflow and a lower-level API that can be used to build your own workflows.

See:

quil-rs and quil-py

We offer a pair of Rust and Python packages for working with Quil. You can use them to parse, build, manipulate and serialize Quil programs. quil-py has no dependencies, making it a lightweight alternative to pyQuil if you only want to build Quil programs.

See:

What next?

After you get your first program up and running, check out our Guidesto learn more. Here are some recommendations to get you started:

  • Learn more about Quil, the Quantum Programming Language in What is Quil?

  • Learn about how your programs can be written, compiled, and executed in The Lifecycle of a Program.

run your first quantum program in the pyQuil documentation
Documentation for qcs-sdk-rust
Documentation for qcs-sdk-python
Documentation for quil-rs
Documentation for quil-py