stanfordnqp / spins-b

Photonic optimization library
GNU General Public License v3.0
281 stars 111 forks source link

Phase monitoring in spins #43

Closed anthmanni closed 4 years ago

anthmanni commented 4 years ago

Hello,

How might I go about monitoring the phase at a port throughout optimization? I am able to optimize over phase and extract the final value, but I haven't figured out a way to append a phase monitor that uses the optplan.overlap object. I'm sure I'm missing something simple here.

Thank you, Anthony