3.7.1. horton.meanfield.bond_order – Generic implementation of bond orders for mean-field wavefunctions

In the context bond orders and self-electron delocatization indices (SEDI’s) are always one an the same thing. For two AIM overlap perators, SA and SB, the bond order is defined as:

BOAB=2Tr[(DαSA)(DαSB)+(DβSA)(DβSB)]

where Dα and Dβ are the density matrices of the α and β electrons, respectively. A related quantity is the valence of an atom. It is defined as:

VA=2NATr[(DSA)(DSA)]

where D is the sum of the α and β electron density matrices, and NA is the population of atom A. The free valence is defined as:

FA=VABABOAB
horton.meanfield.bond_order.compute_bond_orders_cs(dm_alpha, operators)

Compute bond orders, valences and free valences (closed-shell case)

Arguments:

dm_alpha
The density matrix of the alpha electrons
operators
A list of one-body operators.

Returns:

bond_orders
A symmetric N by N matrix with bond orders.
valences
A vector with atomic valences
free_valences
A vector with atomic free valences
horton.meanfield.bond_order.compute_bond_orders_os(dm_alpha, dm_beta, operators)

Compute bond orders, valences and free valences (open-shell case)

Arguments:

dm_alpha
The density matrix of the alpha electrons
operators
A list of one-body operators.

Returns:

bond_orders
A symmetric N by N matrix with bond orders.
valences
A vector with atomic valences
free_valences
A vector with atomic free valences