Open CalMacCQ opened 6 months ago
Would be useful to have an Op.is_unitary method to distingiush between unitary and non-unitary operations.
Op.is_unitary
This method would return True for unitary ops (H , Rz , CCX etc) and False for non-unitary Ops (Measure, Reset etc)
True
H
Rz
CCX
False
Measure
Reset
This issue has been automatically marked as stale.
Would be useful to have an
Op.is_unitary
method to distingiush between unitary and non-unitary operations.This method would return
True
for unitary ops (H
,Rz
,CCX
etc) andFalse
for non-unitary Ops (Measure
,Reset
etc)