Programmatic Representation of Quantum Many Body Systems