High performance tensor computations with applications in quantum simulation