bloq_is_t_like#
View source on GitHub
|
Whether a bloq should be counted as a T gate.
qualtran.resource_counting.classify_bloqs.bloq_is_t_like(
b: qualtran.Bloq
) -> bool
This will return True for any instance of TGate. It will also consider
single-qubit rotations and return True if the angle corresponds to a T gate
(up to clifford reference frame).
View source on GitHub