stanfordnqp / spins-b

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

NumpyArrayType does not support complex values #58

Closed kaipengliuHIT closed 3 years ago

kaipengliuHIT commented 3 years ago

Hello, Why the NumpyArrayType does not support complex values?

JesseLu commented 3 years ago

I think it does, see https://github.com/stanfordnqp/spins-b/blob/9cd1510fef5abe650597fc8e66e9f6180e9a5aa4/spins/goos/optplan/schema_types.py#L49

kaipengliuHIT commented 3 years ago

I think it does, see

https://github.com/stanfordnqp/spins-b/blob/9cd1510fef5abe650597fc8e66e9f6180e9a5aa4/spins/goos/optplan/schema_types.py#L49

Thank you, I will study this.

kaipengliuHIT commented 3 years ago

I think it does, see

https://github.com/stanfordnqp/spins-b/blob/9cd1510fef5abe650597fc8e66e9f6180e9a5aa4/spins/goos/optplan/schema_types.py#L49

Thank you very much, I download the old code and study it and ignore the new code:)