Module: openfermion.transforms.repconversions.operator_tapering

Operations to remove qubits/spin orbitals from operators

Functions

freeze_orbitals(...): Fix some orbitals to be occupied and others unoccupied.

prune_unused_indices(...): Remove indices that do not appear in any terms.