29 #define _USE_MATH_DEFINES 55 H(
int qbit_num_in,
int target_qbit_in);
A class representing a U3 gate.
Matrix calc_one_qubit_u3()
Set static values for matrix of the gates.
void set_qbit_num(int qbit_num_in)
Call to set the number of qubits spanning the matrix of the gate.
~H()
Destructor of the class.
void reorder_qubits(std::vector< int > qbit_list)
Call to reorder the qubits in the matrix of the gate.
void apply_from_right(Matrix &input)
Call to apply the gate on the input array/matrix by input*U3.
H()
Nullary constructor of the class.
Header file of complex array storage array with automatic and thread safe reference counting...
void apply_to(Matrix &input, int parallel)
Call to apply the gate on the input array/matrix by U3*input.
Class to store data of complex arrays and its properties.
A class representing a Hadamard gate.
Matrix get_matrix()
Call to retrieve the gate matrix.
Header file for a class representing a U3 gate.
H * clone()
Call to create a clone of the present class.