Skip to content

Commit

Permalink
link issue
Browse files Browse the repository at this point in the history
  • Loading branch information
anurudhp committed Aug 23, 2024
1 parent 25c5c90 commit 5208055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qualtran/resource_counting/t_counts_from_sigma.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def t_counts_from_sigma(sigma: Mapping['Bloq', SymbolicInt]) -> SymbolicInt:
if bloq_is_rotation(bloq) and not cirq.has_stabilizer_effect(bloq):
if isinstance(bloq, Controlled):
# TODO native controlled rotation bloqs missing (CRz, CRy etc.)
# https://github.com/quantumlib/Qualtran/issues/878
bloq = bloq.subbloq
assert hasattr(bloq, 'eps')
ret += ceil(TComplexity.rotation_cost(bloq.eps)) * counts
Expand Down

0 comments on commit 5208055

Please sign in to comment.