UNIQORN -- The Universal Neural-network Interface for Quantum Observable Readout from N-body wavefunctions
functions Namespace Reference

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)
 

Function Documentation

◆ G2FromSS()

def functions.G2FromSS (   SingleShots,
  NShots,
  Npoints 
)
routine that computes the two-body correlation function from a set of single shots 

◆ histogrammer()

def functions.histogrammer (   data,
  LowerBound = -np.pi,
  UpperBound = np.pi,
  Bins = 100 
)
create a histogram with a certain number of bins 

◆ normalizer()

def functions.normalizer (   array)
normalize an array 
Here is the caller graph for this function:

◆ randomize()

def functions.randomize (   a,
  b 
)
shuffle the columns in two list using the same random permutation for both

◆ replaceAll()

def functions.replaceAll (   file,
  searchExp,
  replaceExp 
)
replace 'searchExp' by 'replaceExp' in file 'file' 

◆ Rho2FromSS()

def functions.Rho2FromSS (   SingleShots,
  NShots,
  Npoints 
)
routine that computes the two-body density from a set of single shots 

◆ RhoFromSS()

def functions.RhoFromSS (   SingleShots,
  NShots,
  Npoints 
)
routine that computes the two-body density from a set of single shots 

◆ RunThis()

def functions.RunThis (   command)
run command 'command' in the shell, store its output in 'output.txt' 
and wait for the command to finish

◆ SpaceString()

def functions.SpaceString (   selector)
routine for assembling filenames, returns 'X' for 'False' (bool) input and 'K' for 'True' (bool) input