iqm.benchmarks.compressive_gst.mgst.additional_fns.n_params#
- iqm.benchmarks.compressive_gst.mgst.additional_fns.n_params(pdim: int, d: int, rK: int, n_povm: int) int#
Returns the number of free parameters in a gate set.
Unitary gauge parameters and unitary freedom in representing the Kraus operators and the POVM elements are subtracted. For details, see https://docserv.uni-duesseldorf.de/servlets/DerivateServlet/Derivate-71735/dissertation_brieger-2%281%29.pdf
- Parameters:
- Returns:
The number of free parameters
- Return type:
n_params