31 #define _USE_MATH_DEFINES 64 Adaptive(
int qbit_num_in,
int target_qbit_in,
int control_qbit_in);
75 Adaptive(
int qbit_num_in,
int target_qbit_in,
int control_qbit_in,
int limit_in);
Header file of single-precision complex array storage with automatic and thread safe reference counti...
Class to store single-precision real arrays and properties.
void set_limit(int limit_in)
???????????
Header file for a class representing a controlled rotation gate around the Y axis.
Adaptive * clone() override
Call to create a clone of the present class.
void apply_from_right(Matrix_real ¶meters, Matrix &input) override
Call to apply the gate on the input array/matrix by input*U3.
void apply_to_inner(Matrix_real ¶meters, const Matrix_real &precomputed_sincos, Matrix &input, int parallel) override
Internal apply entry that consumes already precomputed sin/cos values.
A class representing a CRY gate.
Header file of complex array storage array with automatic and thread safe reference counting...
std::vector< Matrix > apply_derivate_to(Matrix_real ¶meters, Matrix &input, int parallel) override
Call to evaluate the derivate of the circuit on an inout with respect to all of the free parameters...
~Adaptive()
Destructor of the class.
Double-precision complex matrix (float64).
Single-precision complex matrix (float32).
void apply_from_right_inner(Matrix_real ¶meters, const Matrix_real &precomputed_sincos, Matrix &input) override
Internal right-apply entry that consumes already precomputed sin/cos values.
int get_limit()
???????????
A class representing a CRY gate.
virtual void apply_to(Matrix_real ¶meters, Matrix &input, int parallel) override
Call to apply the gate on the input array/matrix.
Class to store data of complex arrays and its properties.
Adaptive()
Nullary constructor of the class.