e3j.utils.options.TensorProduct¶
- class e3j.utils.options.TensorProduct¶
Evaluation strategy for
TensorProduct.- Values:
UNFUSED – Pull-back inputs by CG indices, multiply, then aggregate.
DENSE – Evaluate via
einsumon dense CG coefficient array.FUSED_CUDA – Dispatch to custom CUDA kernel via XLA-FFI (requires
e3j_ops).FUSED_MOSAIC_TPU – Dispatch to the Pallas Mosaic TPU kernel.
Methods
__getitem__(name)Return the member matching
name.__iter__()Return members in definition order.
__len__()Return the number of members (no aliases)
Attributes
UNFUSEDDENSEFUSED_CUDAFUSED_MOSAIC_TPU