30 #define _USE_MATH_DEFINES 48 CROT(
int qbit_num_in,
int target_qbit_in,
int control_qbit_in);
virtual CROT * clone() override
Call to create a clone of the present class.
Class to store single-precision real arrays and properties.
~CROT() override
Destructor of the class.
virtual Matrix derivative_kernel(const Matrix_real &precomputed_sincos, int param_idx) override
std::vector< double > get_parameter_multipliers() const override
Returns the per-parameter multipliers relative to 2Ï used by extract_parameters. ...
virtual Matrix gate_kernel(const Matrix_real &precomputed_sincos) override
Compute the gate kernel matrix from precomputed trigonometric values.
A class representing a CROT gate.
Header file for a class representing a CNOT operation.
virtual void derivative_aux_kernel_to(const Matrix_real &precomputed_sincos, int param_idx, Matrix &output) override
Header file of complex array storage array with automatic and thread safe reference counting...
Double-precision complex matrix (float64).
virtual void derivative_kernel_to(const Matrix_real &precomputed_sincos, int param_idx, Matrix &output) override
virtual void inverse_gate_kernel_to(const Matrix_real &precomputed_sincos, Matrix &output) override
Single-precision complex matrix (float32).
Base class for the representation of general gate operations.
virtual void gate_kernel_to(const Matrix_real &precomputed_sincos, Matrix &output) override
CROT()
Nullary constructor of the class.
virtual Matrix derivative_aux_kernel(const Matrix_real &precomputed_sincos, int param_idx) override
Class to store data of complex arrays and its properties.
virtual Matrix inverse_gate_kernel(const Matrix_real &precomputed_sincos) override