UNIQORN -- The Universal Neural-network Interface for Quantum Observable Readout from N-body wavefunctions
|
Functions | |
def | SpaceString (selector) |
def | G2FromSS (SingleShots, NShots, Npoints) |
def | Rho2FromSS (SingleShots, NShots, Npoints) |
def | RhoFromSS (SingleShots, NShots, Npoints) |
def | replaceAll (file, searchExp, replaceExp) |
def | RunThis (command) |
def | randomize (a, b) |
def | normalizer (array) |
def | histogrammer (data, LowerBound=-np.pi, UpperBound=np.pi, Bins=100) |
def functions.G2FromSS | ( | SingleShots, | |
NShots, | |||
Npoints | |||
) |
routine that computes the two-body correlation function from a set of single shots
def functions.histogrammer | ( | data, | |
LowerBound = -np.pi , |
|||
UpperBound = np.pi , |
|||
Bins = 100 |
|||
) |
create a histogram with a certain number of bins
def functions.normalizer | ( | array | ) |
normalize an array
def functions.randomize | ( | a, | |
b | |||
) |
shuffle the columns in two list using the same random permutation for both
def functions.replaceAll | ( | file, | |
searchExp, | |||
replaceExp | |||
) |
replace 'searchExp' by 'replaceExp' in file 'file'
def functions.Rho2FromSS | ( | SingleShots, | |
NShots, | |||
Npoints | |||
) |
routine that computes the two-body density from a set of single shots
def functions.RhoFromSS | ( | SingleShots, | |
NShots, | |||
Npoints | |||
) |
routine that computes the two-body density from a set of single shots
def functions.RunThis | ( | command | ) |
run command 'command' in the shell, store its output in 'output.txt' and wait for the command to finish
def functions.SpaceString | ( | selector | ) |
routine for assembling filenames, returns 'X' for 'False' (bool) input and 'K' for 'True' (bool) input