qat.pbo.decompositions.xzx_decomposition
- qat.pbo.decompositions.xzx_decomposition()
Returns KAKCompression parameters to decompose gate as RX-RZ-RX
This method is designed to be used directly in a
KAKCompression
plugin:from qat.pbo.decompositions import xzx_decomposition from qat.plugins import KAKCompression plugin = KAKCompression(**xzx_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