30 #define _USE_MATH_DEFINES 53 CRY(
int qbit_num_in,
int target_qbit_in,
int control_qbit_in);
virtual CRY * clone()
Call to create a clone of the present class.
virtual void apply_to(Matrix_real ¶meters, Matrix &input, int parallel)
Call to apply the gate on the input array/matrix by CRY*input.
virtual ~CRY()
Destructor of the class.
CRY()
Nullary constructor of the class.
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...
Header file for a class representing a CNOT operation.
A class representing a CRY gate.
Header file of complex array storage array with automatic and thread safe reference counting...
virtual void apply_from_right(Matrix_real ¶meters, Matrix &input)
Call to apply the gate on the input array/matrix by input*CRY.
Class to store data of complex arrays and its properties.
A class representing a U3 gate.
Header file for a class representing a rotation gate around the Y axis.
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...
Class to store data of complex arrays and its properties.