huckel_mo
Hueckel molecular-orbital theory for a conjugated π system given as atoms and bonds (heteroatom h and k optional): orbital energies α + x β, coefficients, π-electron energy, delocalisation energy against a localised structure, HOMO-LUMO gap, π charges, bond orders and free valences.
Optional β in eV turns the gap into eV and a wavelength.
- Field
- Chemistry
- Version
- 0.1.0
- Runs as
- Compiled (Rust)
- Typical run
- 0.02 s
Compiled from source: run sh packs/install.sh once before admitting it.
Known answers it must pass
r0001ethylene: exact 2x2 roots x = ±1, E = 2 α + 2 β, bond order 1, gap 2|β|; with β = -2.7 eV the gap wavelength is hc/(5.4 eV) = 229.600367 nm from exact SI h, c, e (closed form, rel 10⁻⁶)passed
orbital_x.0= 1, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.1= -1, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagepi_energy_beta2 ± 2 × 10⁻⁶2lockedunder 0.01 % of the tolerance usedbond_orders.0= 1, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagehomo_lumo_gap_beta2 ± 2 × 10⁻⁶2lockedunder 0.01 % of the tolerance useddelocalisation_energy_beta0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance usedgap_wavelength_nm229.6 ± 0.00023229.6lockedunder 0.01 % of the tolerance usedr0002butadiene (Coulson, linear chain x = 2cos(k π/5)): x = ±1.618034, ±0.618034; E = 4 α + 2 sqrt5 β = 4.472136; delocalisation 2 sqrt5 - 4; bond orders 2/sqrt5 and 1/sqrt5; gap sqrt5 - 1 (closed form, rel 10⁻⁶)passed
orbital_x.0= 1.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.1= 0.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.2= -0.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.3= -1.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagepi_energy_beta4.47214 ± 4.5 × 10⁻⁶4.47214lockedunder 0.01 % of the tolerance useddelocalisation_energy_beta0.472136 ± 4.7 × 10⁻⁷0.472136lockedunder 0.01 % of the tolerance usedbond_orders.0= 0.894427, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagebond_orders.1= 0.447214, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagehomo_lumo_gap_beta1.23607 ± 1.2 × 10⁻⁶1.23607lockedunder 0.01 % of the tolerance usedr0003benzene (ring x = 2cos(2 π k/6)): x = 2, 1, 1, -1, -1, -2; E = 6 α + 8 β; delocalisation 2 β; every bond order 2/3; no π charge (closed form, rel 10⁻⁶)passed
orbital_x.0= 2, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.1= 1, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.2= 1, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.3= -1, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.5= -2, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagepi_energy_beta8 ± 8 × 10⁻⁶8lockedunder 0.01 % of the tolerance useddelocalisation_energy_beta2 ± 2 × 10⁻⁶2lockedunder 0.01 % of the tolerance usedbond_orders.0= 0.666667, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagebond_orders.2= 0.666667, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagebond_orders.5= 0.666667, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagelargest_charge0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance usedhomo_lumo_gap_beta2 ± 2 × 10⁻⁶2lockedunder 0.01 % of the tolerance usedclosed_shell= truetruelockedexact matchr0004allyl radical (chain x = 2cos(k π/4)): x = sqrt2, 0, -sqrt2; E = 3 α + 2 sqrt2 β; delocalisation 2 sqrt2 - 2; one unpaired electron; no π charge (Coulson-Rushbrooke, alternant) (closed form, rel 10⁻⁶)passed
orbital_x.0= 1.414214, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.1= 0, within 1.000000 × 10⁻⁹reading not recorded on this pageorbital_x.2= -1.414214, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagepi_energy_beta2.82843 ± 2.8 × 10⁻⁶2.82843lockedunder 0.01 % of the tolerance useddelocalisation_energy_beta0.828427 ± 8.3 × 10⁻⁷0.828427lockedunder 0.01 % of the tolerance usedbond_orders.0= 0.707107, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageunpaired_electrons= 11lockedexact matchlargest_charge0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance usedr0005allyl cation (charge +1): two electrons in the sqrt2 orbital (1/2, 1/sqrt2, 1/2) give +1/2 on each end, 0 in the middle, bond order 1/sqrt2, gap sqrt2 (closed form, rel 10⁻⁶)passed
charges.0= 0.5, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagecharges.1= 0, within 1.000000 × 10⁻⁹reading not recorded on this pagecharges.2= 0.5, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagebond_orders.0= 0.707107, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagehomo_lumo_gap_beta1.41421 ± 1.4 × 10⁻⁶1.41421lockedunder 0.01 % of the tolerance usedclosed_shell= truetruelockedexact matchr0006cyclobutadiene (ring x = 2cos(2 π k/4)): x = 2, 0, 0, -2, a degenerate non-bonding pair holding two electrons (two unpaired, Hund), E = 4 α + 4 β, delocalisation 0, every bond order 1/2 (closed form, rel 10⁻⁶)passed
orbital_x.0= 2, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.1= 0, within 1.000000 × 10⁻⁹reading not recorded on this pageorbital_x.2= 0, within 1.000000 × 10⁻⁹reading not recorded on this pageorbital_x.3= -2, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagepi_energy_beta4 ± 4 × 10⁻⁶4lockedunder 0.01 % of the tolerance useddelocalisation_energy_beta0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance useddegenerate_frontier= truetruelockedexact matchunpaired_electrons= 22lockedexact matchbond_orders.0= 0.5, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagebond_orders.1= 0.5, within 1.000000 × 10⁻⁶ relativereading not recorded on this pager0007two-centre C=X heteroatom bond, h = 1, k = 1 (secular equation x² - x - 1 = 0): x = (1 ± sqrt5)/2; π charge -1/sqrt5 on X and +1/sqrt5 on C; bond order 2/sqrt5; delocalisation 0 against its own double bond (closed form, rel 10⁻⁶)passed
orbital_x.0= 1.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this pageorbital_x.1= -0.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagecharges.0= 0.447214, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagecharges.1= -0.447214, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagebond_orders.0= 0.894427, within 1.000000 × 10⁻⁶ relativereading not recorded on this pagedelocalisation_energy_beta0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance used
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
atoms | 1 | The π centres: a count of carbons (6), or a list where each item is a label ("C") or {"label": "N", "h": 0.5, "electrons": 1}. h sets the Coulomb integral alpha_X = α + h β (carbon 0); electrons is what the atom gives to the π system (0, 1 or 2). 1 to 80 centres. | |
bonds | 1 | Bonds as [i, j] with atoms numbered from 1, or [i, j, k] where beta_ij = k β (carbon-carbon 1). Each bond once. | |
charge | 1 | 0 | Net charge of the π system in elementary charges: 1 for a cation (one electron fewer), -1 for an anion. |
double_bonds | 1 | Optional: the double bonds of the localised reference structure, as [[1,2],[3,4]]. Left out, a maximum matching of the bonds between one-electron atoms is used. | |
beta_eV | Optional: the resonance integral β in eV (negative, typically -2.4 to -3 for C-C). Gives the gap in eV and its wavelength. Left out, everything stays in units of β. |
Readings
| Name | Unit | Meaning |
|---|---|---|
atoms | 1 | |
bonds | 1 | |
pi_electrons | 1 | |
orbital_x | 1 | orbital energies E = α + x β, most bonding first (β < 0, so larger x is lower in energy) |
occupancy | 1 | |
pi_energy_alpha | 1 | the α part of the π energy: the number of π electrons |
pi_energy_beta | 1 | the β part of the π energy, in units of β |
reference_energy_beta | 1 | |
delocalisation_energy_beta | 1 | π energy minus the localised reference, in units of β (positive is stabilising) |
delocalisation_energy_per_electron_beta | 1 | |
homo_x | 1 | |
lumo_x | 1 | |
homo_lumo_gap_beta | 1 | x_HOMO - x_LUMO, in units of |β|; 0 for an open shell (the SOMO is both) |
unpaired_electrons | 1 | |
densities | 1 | |
charges | 1 | π charge per atom in elementary charges: electrons given minus π density |
largest_charge | 1 | |
bond_orders | 1 | Coulson π bond orders, in the order of the bond list |
max_bond_order | 1 | |
min_bond_order | 1 | |
free_valences | 1 | |
fragments | 1 | |
beta_eV | the resonance integral as given, in eV (eV is not in the kernel unit table, so no unit is declared) | |
delocalisation_energy_eV | delocalisation energy in eV (stabilisation, positive) (eV is not in the kernel unit table, so no unit is declared) | |
pi_energy_beta_part_eV | the β part of the π energy in eV (eV is not in the kernel unit table, so no unit is declared) | |
homo_lumo_gap_eV | HOMO-LUMO gap in eV (eV is not in the kernel unit table, so no unit is declared) | |
gap_wavelength_nm | nm | h c / (gap in eV), from the exact SI values of h, c and e |
orbitals | ||
atom_table | ||
bond_table |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.