Invntr
Source

All instruments

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

Admission replayhuckel_mo 0.1.0 · files d22bb1a24f84…bf92
  1. 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 page
    orbital_x.1= -1, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    pi_energy_beta2 ± 2 × 10⁻⁶2lockedunder 0.01 % of the tolerance used
    bond_orders.0= 1, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    homo_lumo_gap_beta2 ± 2 × 10⁻⁶2lockedunder 0.01 % of the tolerance used
    delocalisation_energy_beta0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance used
    gap_wavelength_nm229.6 ± 0.00023229.6lockedunder 0.01 % of the tolerance used
  2. r0002butadiene (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 page
    orbital_x.1= 0.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    orbital_x.2= -0.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    orbital_x.3= -1.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    pi_energy_beta4.47214 ± 4.5 × 10⁻⁶4.47214lockedunder 0.01 % of the tolerance used
    delocalisation_energy_beta0.472136 ± 4.7 × 10⁻⁷0.472136lockedunder 0.01 % of the tolerance used
    bond_orders.0= 0.894427, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    bond_orders.1= 0.447214, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    homo_lumo_gap_beta1.23607 ± 1.2 × 10⁻⁶1.23607lockedunder 0.01 % of the tolerance used
  3. r0003benzene (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 page
    orbital_x.1= 1, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    orbital_x.2= 1, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    orbital_x.3= -1, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    orbital_x.5= -2, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    pi_energy_beta8 ± 8 × 10⁻⁶8lockedunder 0.01 % of the tolerance used
    delocalisation_energy_beta2 ± 2 × 10⁻⁶2lockedunder 0.01 % of the tolerance used
    bond_orders.0= 0.666667, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    bond_orders.2= 0.666667, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    bond_orders.5= 0.666667, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    largest_charge0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance used
    homo_lumo_gap_beta2 ± 2 × 10⁻⁶2lockedunder 0.01 % of the tolerance used
    closed_shell= truetruelockedexact match
  4. r0004allyl 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 page
    orbital_x.1= 0, within 1.000000 × 10⁻⁹reading not recorded on this page
    orbital_x.2= -1.414214, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    pi_energy_beta2.82843 ± 2.8 × 10⁻⁶2.82843lockedunder 0.01 % of the tolerance used
    delocalisation_energy_beta0.828427 ± 8.3 × 10⁻⁷0.828427lockedunder 0.01 % of the tolerance used
    bond_orders.0= 0.707107, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    unpaired_electrons= 11lockedexact match
    largest_charge0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance used
  5. r0005allyl 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 page
    charges.1= 0, within 1.000000 × 10⁻⁹reading not recorded on this page
    charges.2= 0.5, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    bond_orders.0= 0.707107, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    homo_lumo_gap_beta1.41421 ± 1.4 × 10⁻⁶1.41421lockedunder 0.01 % of the tolerance used
    closed_shell= truetruelockedexact match
  6. r0006cyclobutadiene (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 page
    orbital_x.1= 0, within 1.000000 × 10⁻⁹reading not recorded on this page
    orbital_x.2= 0, within 1.000000 × 10⁻⁹reading not recorded on this page
    orbital_x.3= -2, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    pi_energy_beta4 ± 4 × 10⁻⁶4lockedunder 0.01 % of the tolerance used
    delocalisation_energy_beta0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance used
    degenerate_frontier= truetruelockedexact match
    unpaired_electrons= 22lockedexact match
    bond_orders.0= 0.5, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    bond_orders.1= 0.5, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
  7. r0007two-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 page
    orbital_x.1= -0.618034, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    charges.0= 0.447214, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    charges.1= -0.447214, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    bond_orders.0= 0.894427, within 1.000000 × 10⁻⁶ relativereading not recorded on this page
    delocalisation_energy_beta0 ± 10⁻⁹0lockedunder 0.01 % of the tolerance used
7 of 7 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

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

NameUnitDefaultMeaning
atoms1The π 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.
bonds1Bonds as [i, j] with atoms numbered from 1, or [i, j, k] where beta_ij = k β (carbon-carbon 1). Each bond once.
charge10Net charge of the π system in elementary charges: 1 for a cation (one electron fewer), -1 for an anion.
double_bonds1Optional: 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_eVOptional: 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

NameUnitMeaning
atoms1
bonds1
pi_electrons1
orbital_x1orbital energies E = α + x β, most bonding first (β < 0, so larger x is lower in energy)
occupancy1
pi_energy_alpha1the α part of the π energy: the number of π electrons
pi_energy_beta1the β part of the π energy, in units of β
reference_energy_beta1
delocalisation_energy_beta1π energy minus the localised reference, in units of β (positive is stabilising)
delocalisation_energy_per_electron_beta1
homo_x1
lumo_x1
homo_lumo_gap_beta1x_HOMO - x_LUMO, in units of |β|; 0 for an open shell (the SOMO is both)
unpaired_electrons1
densities1
charges1π charge per atom in elementary charges: electrons given minus π density
largest_charge1
bond_orders1Coulson π bond orders, in the order of the bond list
max_bond_order1
min_bond_order1
free_valences1
fragments1
beta_eVthe resonance integral as given, in eV (eV is not in the kernel unit table, so no unit is declared)
delocalisation_energy_eVdelocalisation energy in eV (stabilisation, positive) (eV is not in the kernel unit table, so no unit is declared)
pi_energy_beta_part_eVthe β part of the π energy in eV (eV is not in the kernel unit table, so no unit is declared)
homo_lumo_gap_eVHOMO-LUMO gap in eV (eV is not in the kernel unit table, so no unit is declared)
gap_wavelength_nmnmh 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.

Terminal
MCP call