cirq.TwoQubitGateTabulationResult
Represents a compilation of a target 2-qubit with respect to a base gate.
cirq.TwoQubitGateTabulationResult(
base_gate_unitary, target_gate, local_unitaries, actual_gate, success
)
This object encodes the relationship between 4x4 unitary operators
U_target ~ k_N · Ubase · k{N-1} · ... · k_1 · U_base · k_0
where U_target, U_base are 2-local and k_j are 1-local.
Attributes |
base_gate_unitary
|
A namedtuple alias for field number 0
|
target_gate
|
4x4 unitary denoting U_target above.
|
local_unitaries
|
Sequence of 2-tuples
\((k_{00}, k_{01}), (k_{10}, k_{11}) \ldots\) where
\(k_j = k_{j0} \otimes k_{j1}\) in the product above.
Each \(k_{j0}, k_{j1}\) is a 2x2 unitary.
|
actual_gate
|
4x4 unitary denoting the right hand side above, ideally
equal to U_target.
|
success
|
Whether actual_gate is expected to be close to U_target.
|
base_gate
|
4x4 unitary denoting U_base above.
|
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."],[],[]]