Operations that compensate for zeta, chi and gamma angles of an approximate FSimGate gate.
cirq_google.calibration.FSimPhaseCorrections(
operations: Tuple[Tuple[cirq.Operation, ...], ...],
moment_to_calibration: List[Optional[int]]
)
Attributes |
operations
|
Tuple of tuple of operations that describe the gate. The first index iterates
over moments of the composed operation.
|
moment_to_calibration
|
List of indices pointing to the calibration for each moment in the
composed operation.
|
Methods
as_circuit
View source
as_circuit() -> cirq.Circuit
from_characterization
View source
@classmethod
from_characterization(
qubits: Tuple[cirq.Qid, cirq.Qid],
gate_calibration: cirq_google.calibration.phased_fsim.PhaseCalibratedFSimGate
,
parameters: cirq_google.calibration.PhasedFSimCharacterization
,
characterization_index: Optional[int]
) -> 'FSimPhaseCorrections'
Creates an operation that compensates for zeta, chi and gamma angles of the supplied
gate and characterization.
Args |
qubits
|
Qubits that the gate should act on.
|
gate_calibration
|
Original, imperfect gate that is supposed to run on the hardware
together with phase information.
|
parameters
|
The real parameters of the supplied gate.
|
characterization_index
|
characterization index to use at each moment with gate.
|
__eq__
__eq__(
other
)