Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiplicity limitation in molecular data #809

Open
mstechly opened this issue Jan 25, 2023 · 0 comments
Open

multiplicity limitation in molecular data #809

mstechly opened this issue Jan 25, 2023 · 0 comments
Labels
feature request Request for features

Comments

@mstechly
Copy link
Contributor

mstechly commented Jan 25, 2023

I wanted to use big hydrogen chains for benchmarking of my code.
However, as it turns out, the biggest Hchain I can created using the following piece of code is of length 11:

from openfermion import MolecularData
number_of_hydrogens=11
basis="6-31g"
bond_distance = 1.3
charge = 0
multiplicity = number_of_hydrogens + 1 
geometry = [("H", (0, 0, i * bond_distance)) for i in range(number_of_hydrogens)]
MolecularData(geometry, basis, multiplicity, charge)

For higher values of number_of_hydrogens I get an error. After some investigation I have realized that it's because of name_molecule function, which has a multiplicity_dict with keys up to 12.
I don't even need to get the name of the molecule anywhere, so it's unfortunate that this exception is being raised – I need to either use my own custom version Openfermion or switch to using pySCF.

CC: @sunchong137

@fdmalone fdmalone added the feature request Request for features label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for features
Projects
None yet
Development

No branches or pull requests

2 participants