HiddenLinearFunction.num_unitary_factors

HiddenLinearFunction.num_unitary_factors()

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