53 #include <tbb/cache_aligned_allocator.h> 73 std::random_device
rd;
NN()
Nullary constructor of the class.
std::mt19937 gen
Standard mersenne_twister_engine seeded with rd()
Header file for a class for a composite gate operation.
Header file for a class representing the X gate.
Header file for a class representing a controlled rotation gate around the Y axis.
Header file for a class representing the SX axis.
int levels
[creating decomp class]
int num_threads
Store the number of OpenMP threads. (During the calculations OpenMP multithreading is turned off...
Header file for a class representing a CH operation.
Header file for a class responsible for grouping gates into subcircuits. (Subcircuits can be nested) ...
std::vector< matrix_base< int > > topology
connectivity between the wubits
void get_nn_chanels_from_kernel(Matrix &kernel_up, Matrix &kernel_down, Matrix_real &chanels)
call retrieve the channels for the neural network associated with a single 2x2 kernel ...
Header file for a class representing a CNOT operation.
void create_randomized_parameters(int num_of_parameters, int qbit_num, int levels, Matrix_real ¶meters, matrix_base< int8_t > &nontrivial_adaptive_layers)
Call to construct random parameter, with limited number of non-trivial adaptive layers.
Header file for a class representing a rotation gate around the Z axis.
Umtx
The unitary to be decomposed.
Header file for a class for the representation of general gate operations on the first qbit_num-1 qub...
Header file of complex array storage array with automatic and thread safe reference counting...
Header file for a class representing a CZ operation.
Class to store data of complex arrays and its properties.
Header file for a class representing a gate used in adaptive decomposition.
Header file for a class representing a U3 gate.
Header file for a class representing a rotation gate around the X axis.
Header file for a class representing a rotation gate around the Y axis.
Header file for a class for the representation of general gate operations on the first qbit_num-1 qub...
A class containing basic methods for the decomposition process.
void get_nn_chanels(const Matrix &Umtx, const int &target_qbit, Matrix_real &chanels)
call retrieve the channels for the neural network associated with a single unitary ...
int tt
number of gate blocks used in one shot of the optimization process
std::random_device rd
Will be used to obtain a seed for the random number engine.
Class to store data of complex arrays and its properties.
Header file for a class representing a Sycamore gate.