quantumlib / Cirq

A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
Apache License 2.0
4.28k stars 1.02k forks source link

convert cliffords to xz in qubit characterization #6420

Closed NoureldinYosri closed 10 months ago

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a3eed6b) 97.81% compared to head (9e28358) 97.81%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6420 +/- ## ======================================= Coverage 97.81% 97.81% ======================================= Files 1111 1111 Lines 97115 97121 +6 ======================================= + Hits 94994 95000 +6 Misses 2121 2121 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

NoureldinYosri commented 10 months ago

@wcourtney yes

    raise ValueError(f"Unsupported gate type: {operation.gate!r}")
ValueError: Unsupported gate type: cirq.CliffordGate.from_clifford_tableau(cirq.CliffordTableau(1,rs=np.array([False, False], dtype=np.dtype('bool')), xs=np.array([[True], [False]], dtype=np.dtype('bool')),zs=np.array([[False], [True]], dtype=np.dtype('bool')), initial_state=0))