LinearPauliRotations.num_unitary_factors

LinearPauliRotations.num_unitary_factors()

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