cirq.decompose_clifford_tableau_to_operations
Decompose an n-qubit Clifford Tableau into a list of one/two qubit operations.
cirq.decompose_clifford_tableau_to_operations(
qubits: List['cirq.Qid'],
clifford_tableau: cirq.CliffordTableau
) -> List[cirq.Operation
]
The implementation is based on Theorem 8 in [1].
[1] S. Aaronson, D. Gottesman, Improved Simulation of Stabilizer Circuits,
Phys. Rev. A 70, 052328 (2004). https://arxiv.org/abs/quant-ph/0406196
Args |
qubits
|
The list of qubits being operated on.
|
clifford_tableau
|
The Clifford Tableau for decomposition.
|
Returns |
A list of operations reconstructs the same Clifford tableau.
|
Raises |
ValueError
|
The length of input qubit mismatch with the size of tableau.
|
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."],[],[]]