Module: cirq_rigetti

Modules

aspen_device module

circuit_sweep_executors module: A collection of CircuitSweepExecutor s that the client may pass to RigettiQCSService or RigettiQCSSampler as executor.

circuit_transformers module: A collection of CircuitTransformer s that the client may pass to RigettiQCSService or RigettiQCSSampler as transformer.

json_resolver_cache module

logging module

quil_input module

quil_output module

sampler module

service module

Classes

class AspenQubit: A cirq.Qid supporting Octagonal indexing.

class OctagonalQubit: A cirq.Qid supporting Octagonal indexing.

class RigettiQCSAspenDevice: A cirq.Qid supporting Rigetti QCS Aspen device topology.

class RigettiQCSSampler: This class supports running circuits on QCS quantum hardware as well as pyQuil's quantum virtual machine (QVM).

class RigettiQCSService: This class supports running circuits on QCS quantum hardware as well as pyQuil's quantum virtual machine (QVM).

class UnsupportedQubit: Inappropriate argument value (of correct type).

class UnsupportedRigettiQCSOperation: Inappropriate argument value (of correct type).

class UnsupportedRigettiQCSQuantumProcessor: Inappropriate argument value (of correct type).

Functions

circuit_from_quil(...): Convert a Quil program to a Cirq Circuit.

get_rigetti_qcs_sampler(...): Calls pyquil.get_qc to initialize a pyquil.api.QuantumComputer and uses this to initialize RigettiQCSSampler.

get_rigetti_qcs_service(...): Calls pyquil.get_qc to initialize a pyquil.api.QuantumComputer and uses this to initialize RigettiQCSService.

version '1.4.1'