23 #ifndef RLEXPERIENCE_H 24 #define RLEXPERIENCE_H 106 int draw(
const int& curent_index, std::mt19937& gen );
149 #endif //RL_experience matrix_base< int > total_counts
total counts in one row of parameter_counts — reset when probabilites are updated ...
A class for RL_experience optimization according to https://towardsdatascience.com/how-to-implement-a...
void import_probabilities()
???????????
Matrix_real parameter_probs
int parameter_num
number of involved parameters
Header file for a class responsible for grouping gates into subcircuits. (Subcircuits can be nested) ...
std::vector< int > history
void reset()
?????????????
RL_experience copy()
Call to make a copy of the current instance.
RL_experience()
Nullary constructor of the class.
RL_experience & operator=(const RL_experience &experience)
Assignment operator.
matrix_base< unsigned long long > total_counts_probs
total counts used to evasluate one row in parameter_probs
Gates_block * gates
attribute stroing the gate structure
int draw(const int &curent_index, std::mt19937 &gen)
Call to draw the next index.
A class responsible for grouping two-qubit (CNOT,CZ,CH) and one-qubit gates into layers.
unsigned long long iteration_num
virtual ~RL_experience()
Destructor of the class.
void update_probs()
Call to update the trained probabilities and reset the counts.
Class to store data of complex arrays and its properties.
void export_probabilities()
???????????
matrix_base< int > parameter_counts
array containing the counts of successive parameters used in the optimization. Element (i...