29 #define _USE_MATH_DEFINES 55 RZ(
int qbit_num_in,
int target_qbit_in);
void apply_to(Matrix_real ¶meters, Matrix &input, int parallel)
Call to apply the gate on the input array/matrix by U3*input.
A class representing a U3 gate.
virtual Matrix_real extract_parameters(Matrix_real ¶meters)
Call to extract parameters from the parameter array corresponding to the circuit, in which the gate i...
RZ * clone()
Call to create a clone of the present class.
void apply_from_right(Matrix_real ¶meters, Matrix &input)
Call to apply the gate on the input array/matrix by input*U3.
RZ()
NullaRZ constructor of the class.
A class representing a RZ gate.
~RZ()
Destructor of the class.
Header file of complex array storage array with automatic and thread safe reference counting...
virtual Matrix calc_one_qubit_u3()
Calculate the matrix of the constans gates.
Class to store data of complex arrays and its properties.
Header file for a class representing a U3 gate.
virtual std::vector< Matrix > apply_derivate_to(Matrix_real ¶meters, Matrix &input, int parallel)
Call to evaluate the derivate of the circuit on an inout with respect to all of the free parameters...
void parameters_for_calc_one_qubit(double &ThetaOver2, double &Phi, double &Lambda)
Calculate the matrix of a U3 gate gate corresponding to the given parameters acting on a single qbit ...
Class to store data of complex arrays and its properties.