import math
import sys
def gen_input():
"""
This function returns an input file for Gaussian that computes the ground state energy of H2 using Hartree-Fock
"""
[insert]
return gauss_input
import math
import sys
def gen_input():
"""
This function returns an input file for Gaussian that computes the ground state energy of H2 using Hartree-Fock
"""
gauss_input = """%chk=h2.chk
%mem=1GB
%nprocshared=4
#P HF/6-31G(d)
H2 molecule
0 1
H
H 1 1.0
"""
return gauss_input
Go to Google Form