pytc.legacy.xtc._parallel_over_i¶
- pytc.legacy.xtc._parallel_over_i(process_i_func, output_shape, n_i, desc=None)[source]¶
Generic parallel processor for i-index contractions with progress tracking.
- Parameters:
process_i_func – Function that takes i and returns (i, result)
output_shape – Shape of output tensor
n_i – Number of i indices to process
desc – Optional description for progress bar
- Returns:
Tensor with results assembled