When you add Tab + Sba it's not clear if you want the sum to have indices ab or ba.
AddTensors makes the choice by sorting them. But, it might be nice to have an option so the user can determine it.
Currently, we can use ReorderTensorIndices to change the positions.
When you add Tab + Sba it's not clear if you want the sum to have indices ab or ba. AddTensors makes the choice by sorting them. But, it might be nice to have an option so the user can determine it. Currently, we can use ReorderTensorIndices to change the positions.