t_complexity_compat#

Returns the TComplexity of a bloq or some Cirq objects.

The main t_complexity function now expects a Bloq. Historically, there were strategies to derive t complexities from other container classes (cirq.Circuit, cirq.Moment) and gates/operations.

stc

an object to compute its TComplexity.

TypeError

if the methods fails to compute TComplexity.