[ITensors] Generalize diag_itensor
constructors to AbstractVector
#1510
+20
−18
diag_itensor
constructors to AbstractVector
#1510