WeightedAdder.num_unitary_factors

WeightedAdder.num_unitary_factors()

Computes the number of tensor factors in the unitary (quantum) part of the circuit only.