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
%nproc=1
#P HF/6-31G(d) SCF=tight
H2 molecule
0 1
H
H 1 0.74
"""
return gauss_input
Go to Google Form