cirq.CircuitSampleJob
Describes a sampling task.
cirq.CircuitSampleJob(
circuit: 'cirq.AbstractCircuit', *, repetitions: int, tag: Any = None
)
Args |
circuit
|
The circuit to sample from.
|
repetitions
|
How many times to sample the circuit.
|
tag
|
An arbitrary value associated with the job. This value is used
so that when a job completes and is handed back, it is possible
to tell what the job was for. For example, the key could be a
string like "main_run" or "calibration_run", or it could be set
to the component of the Hamiltonian (e.g. a PauliString) that
the circuit is supposed to be helping to estimate.
|
Methods
__eq__
View source
__eq__(
other: _SupportsValueEquality
) -> bool
__ne__
View source
__ne__(
other: _SupportsValueEquality
) -> bool
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."],[],[]]