TComplexity#

qualtran.cirq_interop.t_complexity_protocol.TComplexity

Dataclass storing counts of logical T-gates, Clifford gates and single qubit rotations.

clifford

 

rotations

 

t

 

Methods#

rotation_cost

View source

t_incl_rotations

View source

Return the total number of T gates after compiling rotations

__add__

View source

__mul__

View source

__rmul__

View source

asdict

View source

__ne__

Check equality and either forward a NotImplemented or return the result negated.

__eq__

Method generated by attrs for class TComplexity.