We're celebrating World Quantum Day 2022! Join us

Module: openfermion.measurements.fermion_partitioning

Functions

pair_between(...): Pairs between two fragments of a larger list

pair_within(...): Generates pairings of labels that contain each pair at least once.

pair_within_simultaneously(...): Generates simultaneous pairings between four-element combinations

pair_within_simultaneously_binned(...): Generates symmetry-respecting pairings between four-elements in a list

pair_within_simultaneously_symmetric(...): Generates symmetry-respecting pairings between four-elements in a list

MAX_LOOPS 1000000.0