Three-dimensional compact photonic circuits for quantum state tomography of multipath qudits in any finite dimension. (7th October 2021)