openfermion.chem.make_atomic_ring
Function to create atomic rings with n_atoms.
openfermion.chem.make_atomic_ring(
n_atoms,
spacing,
basis,
atom_type='H',
charge=0,
filename=''
)
Note that basic geometry suggests that for spacing L between atoms
the radius of the ring should be L / (2 * cos (pi / 2 - theta / 2))
Args |
n_atoms
|
Integer, the number of atoms in the ring.
|
spacing
|
The spacing between atoms in the ring in Angstroms.
|
basis
|
The basis in which to perform the calculation.
|
atom_type
|
String, the atomic symbol of the element in the ring.
this defaults to 'H' for Hydrogen.
|
charge
|
An integer giving the total molecular charge. Defaults to 0.
|
filename
|
An optional string to give a filename for the molecule.
|
Returns |
molecule
|
A an instance of the MolecularData class.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]