fh_comm.simplification.translate_origin

fh_comm.simplification.translate_origin(h: HamiltonianOp, translatt: SubLattice) HamiltonianOp[source]

Translate operators such that their support is centered around the origin, assuming translation invariance with respect to translatt.