cirq_rigetti.circuit_sweep_executors.without_quilc_compilation
This CircuitSweepExecutor
will bypass quilc entirely, treating the transformed cirq.Circuit
as native Quil.
cirq_rigetti.circuit_sweep_executors.without_quilc_compilation(
*,
quantum_computer: QuantumComputer,
circuit: cirq.Circuit,
resolvers: Sequence[cirq.ParamResolverOrSimilarType],
repetitions: int,
transformer: cirq_rigetti.circuit_transformers.CircuitTransformer
= cirq_rigetti.circuit_transformers.default
) -> Sequence[cirq.Result]
Args |
quantum_computer
|
The pyquil.api.QuantumComputer against which to execute the circuit.
|
circuit
|
The cirq.Circuit to transform into a pyquil.Program and executed on the
quantum_computer .
|
resolvers
|
A sequence of parameter resolvers that cirq.protocols.resolve_parameters will
use to fully resolve the circuit.
|
repetitions
|
Number of times to run each iteration through the resolvers . For a given
resolver, the cirq.Result will include a measurement for each repetition.
|
transformer
|
A callable that transforms the cirq.Circuit into a pyquil.Program .
You may pass your own callable or any function from cirq_rigetti.circuit_transformers .
|
Returns |
A list of cirq.Result , each corresponding to a resolver in resolvers .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-27 UTC."],[],[]]