29 #define _USE_MATH_DEFINES 49 RZZ(
int qbit_num_in,
const std::vector<int>& target_qbits_in);
Header file for a class for the representation of general gate operations.
Class to store single-precision real arrays and properties.
~RZZ()
Destructor of the class.
Matrix derivative_kernel(const Matrix_real &precomputed_sincos, int param_idx) override
RZZ()
Nullary constructor of the class.
std::vector< double > get_parameter_multipliers() const override
Call to extract parameters from the parameter array corresponding to the circuit, in which the gate i...
Matrix gate_kernel(const Matrix_real &precomputed_sincos) override
Build and return the 4x4 RZZ unitary for the given parameter.
Header file of complex array storage array with automatic and thread safe reference counting...
A class representing a RZZ gate.
Double-precision complex matrix (float64).
RZZ * clone() override
Call to create a clone of the present class.
Single-precision complex matrix (float32).
void inverse_gate_kernel_to(const Matrix_real &precomputed_sincos, Matrix &output) override
void derivative_kernel_to(const Matrix_real &precomputed_sincos, int param_idx, Matrix &output) override
Base class for the representation of general gate operations.
void gate_kernel_to(const Matrix_real &precomputed_sincos, Matrix &output) override
Matrix inverse_gate_kernel(const Matrix_real &precomputed_sincos) override
Class to store data of complex arrays and its properties.