-
Hi Stefan: I am thinking about generating all 24 single-qubit Clifford gates in matrix form. Is there a function to do that? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Yes,
|
Beta Was this translation helpful? Give feedback.
-
Hi Stefan: Yes this can generate all 24 single qubit clifford gates. But is there a simple way to get the matrix of each gate? Thanks |
Beta Was this translation helpful? Give feedback.
-
With the release of 0.8.12 today, this is easier.
If I understand correctly, you can do what you want by writing:
|
Beta Was this translation helpful? Give feedback.
With the release of 0.8.12 today, this is easier.
stab_to_gf2
can be used to generate the binary matrix representing the gateOperator
fromQuantumOptics.jl
can be used to convertCliffordOperator
into a unitary matrixIf I understand correctly, you can do what you want by writing: