netket.jax.is_complex_dtype

netket.jax.is_complex_dtype#

netket.jax.is_complex_dtype(typ)[source]#

Returns True if typ is a complex dtype.

This is almost equivalent to jnp.iscomplexobj but also handles types such as float, complex and int, which are used throughout netket.