Package qose
Expand source code
from .circuit_utils import *
from .driver_code import *
from .plot_utils import *
from .restore_tree import *
from .subarchitecture_tree_search import *
from .train_utils import *
Sub-modules
qose.circuit_utilsqose.driver_code-
Driver code
This script launches the tree search with a given configuration. Can be launched from the command line with `python …
qose.driver_code_par-
Driver code par
This script launches the tree search with a given configuration. We use MPI4Py to parallelize calculating the …
qose.featuremaps-
Feature maps
This module contains feature maps. Each feature map function takes an input vector x and weights, and constructs a circuit …
qose.plot_utils-
Plot utils
Code to plot the search tree.
qose.restore_treeqose.subarchitecture_tree_search-
Subarchitecture tree search
Execute the search tree algorithm. Here, we iteratively construct a tree, where more layers …
qose.subarchitecture_tree_search_par-
Subarchitecture tree search (parallel)
Execute the search tree algorithm. Here, we iteratively construct a …
qose.train_utils-
Train utils
Losses, training loops and helper functions used during training.
qose.training_test