We're celebrating World Quantum Day 2022! Join us

openfermion.utils.up_index

Function to return up-orbital index given a spatial orbital index.

index (int): spatial orbital index

An integer representing the index of the associated spin-up orbital