neuralqx.utils.dtypes.policy module

DType policy abstraction for neuraLQX runtime defaults.

The DTypePolicy class is the single source of truth for effective dtype defaults derived from package configuration (which may be driven by environment variables).

class DTypePolicy(real, complex, index)

Bases: object

Canonical dtype policy for neuraLQX arrays.

real

Default real-valued array dtype.

complex

Default complex-valued array dtype.

index

Integer dtype for index and topology arrays.