18 H(
int qbit_num_in,
int target_qbit_in);
20 virtual H*
clone()
override;
Copyright (C) Miklos Maroti, 2021 SPDX-License-Identifier: Apache-2.0.
Header file of single-precision complex array storage with automatic and thread safe reference counti...
Class to store single-precision real arrays and properties.
virtual Matrix get_matrix()
Retrieve the gate matrix for zero-parameter gates (no parameters).
virtual void inverse_gate_kernel_to(const Matrix_real ¶meters, Matrix &output) override
virtual void gate_kernel_to(const Matrix_real ¶meters, Matrix &output) override
virtual Matrix inverse_gate_kernel(const Matrix_real ¶meters) override
virtual void apply_from_right(Matrix &input)
Call to apply the gate on the input array/matrix by input*Gate.
Header file of complex array storage array with automatic and thread safe reference counting...
Double-precision complex matrix (float64).
virtual Matrix gate_kernel(const Matrix_real ¶meters) override
Compute the gate kernel matrix from precomputed trigonometric values.
Single-precision complex matrix (float32).
virtual H * clone() override
Call to create a clone of the present class.
virtual void apply_to(Matrix &input, int parallel)
Call to apply the gate on the input array/matrix.
Class to store data of complex arrays and its properties.