qat.pbo.decompositions.zyz_decomposition
- qat.pbo.decompositions.zyz_decomposition()
Returns KAKCompression parameters to decompose gate as RZ-RY-RZ
This method is designed to be used directly in a
KAKCompression
plugin:from qat.pbo.decompositions import zyz_decomposition from qat.plugins import KAKCompression plugin = KAKCompression(**zyz_decomposition())
- Returns
the one qubit gate decomposition:
result["variables"]
is a list ofVAR
corresponding to the abstract matrix andresult["pattern"]
is a pattern function of this matrix- Return type
dict