View source on GitHub |
General Utilities
Functions
alpha_beta_electrons(...)
: Given the total number of electrons and the z-spin quantum number, return
bubblesort(...)
: Bubble Sort algorithm to arrange a list so that the lowest value is
configuration_key_intersection(...)
: Return the intersection of the passed configuration key lists.
configuration_key_union(...)
: Given a list of configuration keys, build a list which is the union of
dot(...)
: Calculate the dot product of two wavefunctions. Note that this does
init_bitstring_groundstate(...)
: Occupy the n lowest orbitals of a state in the bitstring representation
init_qubit_vacuum(...)
: Build the ground state wavefunction for an nqubit system.
invert_bitstring_with_mask(...)
: Invert a bitstring with a mask.
ltlt_index_generator(...)
: Generate index sets into a lower triangle, lower triangle matrix
map_broken_symmetry(...)
: Create a map between spin broken and number broken wavefunctions.
paritysort_int(...)
: Move all even numbers to the left and all odd numbers to the right
paritysort_list(...)
: Move all even numbers to the left and all odd numbers to the right
qubit_config_sector(...)
: Generate the basis vectors into the qubit basis representing all states
qubit_particle_number_index(...)
: Generate indexes corresponding to the coefficient that is associated
qubit_particle_number_index_spin(...)
: Generate indexes corresponding to the coefficient that is associated
qubit_particle_number_sector(...)
: Generate the basis vectors into the qubit basis representing all states
rand_wfn(...)
: Utility for generating random normalized wavefunctions.
reverse_bubble_list(...)
: Bubble Sort algorithm to arrange a list so that the lowest value is
sort_configuration_keys(...)
: Return a standard sorting of configuration keys in a wavefunction for
validate_config(...)
: Check that the parameters passed are valid to build a configuration
validate_tuple(...)
: Validate that the tuple passed in is valid for initializing a general
vdot(...)
: Calculate the inner product of two wavefunctions using conjugation on
zero_transform(...)
: Given a bitstring, determine if it satisfies the occupation and
Other Members | |
---|---|
TYPE_CHECKING |
False
|