Learning local equivariant representations for quantum operators