stanfordnqp / spins-b

Photonic optimization library
GNU General Public License v3.0
290 stars 114 forks source link

Error when import levelset_parametrization #77

Closed BravoXXX closed 1 year ago

BravoXXX commented 2 years ago

Hello, I want to add discrete optimization in wdm2.py.But when I use optplan.HermiteLevelSetParametrization,I get one import error like the following: image I found that there is no levelset_parametrization.py in spins.invdes.parametrization file.Could someone add it to the repository or tell me how to add a discrete optimization in wdm2.py.?

Thank you!

ludi1001 commented 1 year ago

Unfortunately HermiteLevelSetParametrization isn't in the open source version