eye_like

tenpy.linalg.np_conserved.eye_like(a, axis=0, labels=None)[source]

Return an identity matrix contractible with the leg axis of the Array a.