Calculating effective dimension

Hi, I want to calculate the effective dimension for a neural network constructed using strawberry fields. Is there a way to do that? If not, are there any suggestions on how to do that? Here is how it is done in the qiskit:

Hey @ShikBan! Welcome back :smile:

Are you referring to what’s outlined in section 3.2 of this paper?

If so, this isn’t a function that’s in strawberryfields. However, I suggest that you take a look at the source code for how Qiskit implements it and see if you can adapt it to strawberryfields :slight_smile:.