cirq_google.api.v2.ndarrays.to_complex128_array

Populate a new or provided Complex128Array msg with given numpy array.

Supports any complex type taking <= 16 bytes. If given e.g. a c16/64-bit complex of single floats, this will recast as a 128-bit complex consisting of two 64-bit floats and serialize.

array Array to add.
out Message to add to. If None, create new message.