cirq_rigetti.sampler.get_rigetti_qcs_sampler

Calls pyquil.get_qc to initialize a pyquil.api.QuantumComputer and uses this to initialize RigettiQCSSampler.

quantum_processor_id The name of the desired quantum computer. This should correspond to a name returned by pyquil.api.list_quantum_computers. Names ending in "-qvm" will return a QVM. Names ending in "-pyqvm" will return a pyquil.PyQVM. Otherwise, we will return a Rigetti QCS QPU if one exists with the requested name.
as_qvm An optional flag to force construction of a QVM (instead of a QPU). If specified and set to True, a QVM-backed quantum computer will be returned regardless of the name's suffix
noisy An optional flag to force inclusion of a noise model. If specified and set to True, a quantum computer with a noise model will be returned. The generic QVM noise model is simple T1 and T2 noise plus readout error. At the time of this writing, this has no effect on a QVM initialized based on a Rigetti QCS qcs_api_client.models.InstructionSetArchitecture.
executor A callable that first uses the below transformer on cirq.Circuit s and then executes the transformed circuit on the quantum_computer. You may pass your own callable or any static method on CircuitSweepExecutors.
transformer A callable that transforms the cirq.Circuit into a pyquil.Program. You may pass your own callable or any static method on CircuitTransformers.

A RigettiQCSSampler with the specified quantum processor, executor, and transformer.