neuralqx.experimental.operators.symbolic.ir.program module

Top-level symbolic operator IR container.

class SymbolicOperatorIR(operator_name, mode, hilbert_size, dtype_str, is_hermitian, terms=<factory>, metadata=<factory>)

Bases: object

Immutable symbolic operator IR container.

operator_name

Name of the operator this IR represents.

mode

IR mode (symbolic for DSL-built operators, jax_kernel for direct JAX-kernel operators).

hilbert_size

Size of the Hilbert space (number of sites).

dtype_str

String representation of the matrix-element dtype.

is_hermitian

Whether the source operator is declared Hermitian.

terms

Declarative term tuple for symbolic mode.

metadata

Optional stable metadata tuple.