Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Typedefs | Functions
apply_dedicated_gate_kernel_to_input.cpp File Reference

???????????????? More...

#include "apply_dedicated_gate_kernel_to_input.h"
#include "tbb/tbb.h"
#include <omp.h>
#include <type_traits>
#include <utility>
Include dependency graph for apply_dedicated_gate_kernel_to_input.cpp:

Go to the source code of this file.

Typedefs

template<typename MatrixT >
using KernelDedicatedComplexT = typename std::remove_reference< decltype(std::declval< MatrixT & >()[0])>::type
 

Functions

void apply_H_kernel_from_right (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_from_right (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_H_kernel_from_right_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_from_right_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_from_right_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_H_kernel_from_right_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_from_right_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_from_right_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_H_kernel_from_right_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_to_input (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 Applies the H (Hadamard) gate kernel to the input matrix. More...
 
void apply_H_kernel_to_input (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_H_kernel_to_input_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_to_input_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_to_input_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_H_kernel_to_input_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_to_input_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_H_kernel_to_input_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_H_kernel_to_input_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_from_right (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_from_right (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_S_kernel_from_right_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_from_right_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_from_right_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_S_kernel_from_right_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_from_right_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_from_right_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_S_kernel_from_right_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_to_input (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 Applies the S gate kernel to the input matrix. More...
 
void apply_S_kernel_to_input (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_S_kernel_to_input_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_to_input_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_to_input_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_S_kernel_to_input_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_to_input_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_S_kernel_to_input_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_S_kernel_to_input_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SWAP_kernel_from_right (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_from_right (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_SWAP_kernel_from_right_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_from_right_omp (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_from_right_omp (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_SWAP_kernel_from_right_omp_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_from_right_tbb (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_from_right_tbb (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_SWAP_kernel_from_right_tbb_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_to_input (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 Applies the SWAP gate kernel to the input matrix. More...
 
void apply_SWAP_kernel_to_input (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_SWAP_kernel_to_input_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_to_input_omp (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_to_input_omp (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_SWAP_kernel_to_input_omp_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_to_input_tbb (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SWAP_kernel_to_input_tbb (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_SWAP_kernel_to_input_tbb_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_SYC_kernel_from_right (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_from_right (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_SYC_kernel_from_right_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_from_right_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_from_right_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_SYC_kernel_from_right_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_from_right_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_from_right_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_SYC_kernel_from_right_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_to_input (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_to_input (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_SYC_kernel_to_input_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_to_input_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_to_input_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_SYC_kernel_to_input_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_to_input_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_SYC_kernel_to_input_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_SYC_kernel_to_input_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_from_right (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_from_right (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_T_kernel_from_right_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_from_right_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_from_right_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_T_kernel_from_right_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_from_right_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_from_right_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_T_kernel_from_right_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_to_input (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 Applies the T gate kernel to the input matrix. More...
 
void apply_T_kernel_to_input (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_T_kernel_to_input_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_to_input_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_to_input_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_T_kernel_to_input_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_to_input_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_T_kernel_to_input_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_T_kernel_to_input_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_X_kernel_from_right (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_X_kernel_from_right (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_X_kernel_from_right_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_X_kernel_from_right_omp (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_X_kernel_from_right_omp (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_X_kernel_from_right_omp_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_X_kernel_from_right_tbb (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_X_kernel_from_right_tbb (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_X_kernel_from_right_tbb_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_X_kernel_to_input (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 Applies the X gate kernel to the input matrix. More...
 
void apply_X_kernel_to_input (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_X_kernel_to_input_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 Call to apply X gate kernel on an input matrix. More...
 
void apply_X_kernel_to_input_omp (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_X_kernel_to_input_omp (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_X_kernel_to_input_omp_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_X_kernel_to_input_tbb (Matrix &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_X_kernel_to_input_tbb (Matrix_float &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
template<typename MatrixT >
void apply_X_kernel_to_input_tbb_impl (MatrixT &input, const std::vector< int > &target_qbits, const std::vector< int > &control_qbits, const int &matrix_size)
 
void apply_Y_kernel_from_right (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_from_right (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Y_kernel_from_right_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_from_right_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_from_right_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Y_kernel_from_right_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_from_right_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_from_right_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Y_kernel_from_right_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_to_input (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 Applies the Y gate kernel to the input matrix. More...
 
void apply_Y_kernel_to_input (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Y_kernel_to_input_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_to_input_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_to_input_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Y_kernel_to_input_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_to_input_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Y_kernel_to_input_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Y_kernel_to_input_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_from_right (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_from_right (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Z_kernel_from_right_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_from_right_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_from_right_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Z_kernel_from_right_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_from_right_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_from_right_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Z_kernel_from_right_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_to_input (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 Applies the Z gate kernel to the input matrix. More...
 
void apply_Z_kernel_to_input (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Z_kernel_to_input_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_to_input_omp (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_to_input_omp (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Z_kernel_to_input_omp_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_to_input_tbb (Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_Z_kernel_to_input_tbb (Matrix_float &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
template<typename MatrixT >
void apply_Z_kernel_to_input_tbb_impl (MatrixT &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 

Detailed Description

????????????????

Definition in file apply_dedicated_gate_kernel_to_input.cpp.

Typedef Documentation

◆ KernelDedicatedComplexT

template<typename MatrixT >
using KernelDedicatedComplexT = typename std::remove_reference<decltype(std::declval<MatrixT&>()[0])>::type

Definition at line 32 of file apply_dedicated_gate_kernel_to_input.cpp.

Function Documentation

◆ apply_H_kernel_from_right() [1/2]

void apply_H_kernel_from_right ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1997 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_H_kernel_from_right() [2/2]

void apply_H_kernel_from_right ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1998 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_H_kernel_from_right_impl()

template<typename MatrixT >
void apply_H_kernel_from_right_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 325 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_H_kernel_from_right_omp() [1/2]

void apply_H_kernel_from_right_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2063 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_H_kernel_from_right_omp() [2/2]

void apply_H_kernel_from_right_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2064 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_H_kernel_from_right_omp_impl()

template<typename MatrixT >
void apply_H_kernel_from_right_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1620 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_H_kernel_from_right_tbb() [1/2]

void apply_H_kernel_from_right_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2030 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_H_kernel_from_right_tbb() [2/2]

void apply_H_kernel_from_right_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2031 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_H_kernel_from_right_tbb_impl()

template<typename MatrixT >
void apply_H_kernel_from_right_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 977 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_H_kernel_to_input() [1/2]

void apply_H_kernel_to_input ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Applies the H (Hadamard) gate kernel to the input matrix.

Parameters
inputThe input matrix on which the transformation is applied.
target_qbitThe target qubit on which the transformation should be applied.
control_qbitThe control qubit (-1 if there is no control qubit).
matrix_sizeThe size of the input.

Definition at line 1995 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_H_kernel_to_input() [2/2]

void apply_H_kernel_to_input ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1996 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_H_kernel_to_input_impl()

template<typename MatrixT >
void apply_H_kernel_to_input_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 287 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_H_kernel_to_input_omp() [1/2]

void apply_H_kernel_to_input_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2061 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_H_kernel_to_input_omp() [2/2]

void apply_H_kernel_to_input_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2062 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_H_kernel_to_input_omp_impl()

template<typename MatrixT >
void apply_H_kernel_to_input_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1581 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_H_kernel_to_input_tbb() [1/2]

void apply_H_kernel_to_input_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2028 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_H_kernel_to_input_tbb() [2/2]

void apply_H_kernel_to_input_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2029 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_H_kernel_to_input_tbb_impl()

template<typename MatrixT >
void apply_H_kernel_to_input_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 936 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_S_kernel_from_right() [1/2]

void apply_S_kernel_from_right ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2001 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_from_right() [2/2]

void apply_S_kernel_from_right ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2002 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_from_right_impl()

template<typename MatrixT >
void apply_S_kernel_from_right_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 393 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_S_kernel_from_right_omp() [1/2]

void apply_S_kernel_from_right_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2067 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_from_right_omp() [2/2]

void apply_S_kernel_from_right_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2068 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_from_right_omp_impl()

template<typename MatrixT >
void apply_S_kernel_from_right_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1683 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_S_kernel_from_right_tbb() [1/2]

void apply_S_kernel_from_right_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2034 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_from_right_tbb() [2/2]

void apply_S_kernel_from_right_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2035 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_from_right_tbb_impl()

template<typename MatrixT >
void apply_S_kernel_from_right_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1045 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_S_kernel_to_input() [1/2]

void apply_S_kernel_to_input ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Applies the S gate kernel to the input matrix.

Parameters
inputThe input matrix on which the transformation is applied.
target_qbitThe target qubit on which the transformation should be applied.
control_qbitThe control qubit (-1 if there is no control qubit).
matrix_sizeThe size of the input.

Definition at line 1999 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_to_input() [2/2]

void apply_S_kernel_to_input ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2000 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_to_input_impl()

template<typename MatrixT >
void apply_S_kernel_to_input_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 362 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_S_kernel_to_input_omp() [1/2]

void apply_S_kernel_to_input_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2065 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_to_input_omp() [2/2]

void apply_S_kernel_to_input_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2066 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_to_input_omp_impl()

template<typename MatrixT >
void apply_S_kernel_to_input_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1651 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_S_kernel_to_input_tbb() [1/2]

void apply_S_kernel_to_input_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2032 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_to_input_tbb() [2/2]

void apply_S_kernel_to_input_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2033 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_S_kernel_to_input_tbb_impl()

template<typename MatrixT >
void apply_S_kernel_to_input_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1011 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_SWAP_kernel_from_right() [1/2]

void apply_SWAP_kernel_from_right ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2009 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SWAP_kernel_from_right() [2/2]

void apply_SWAP_kernel_from_right ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2010 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SWAP_kernel_from_right_impl()

template<typename MatrixT >
void apply_SWAP_kernel_from_right_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 534 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_SWAP_kernel_from_right_omp() [1/2]

void apply_SWAP_kernel_from_right_omp ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2075 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SWAP_kernel_from_right_omp() [2/2]

void apply_SWAP_kernel_from_right_omp ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2076 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SWAP_kernel_from_right_omp_impl()

template<typename MatrixT >
void apply_SWAP_kernel_from_right_omp_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 1820 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_SWAP_kernel_from_right_tbb() [1/2]

void apply_SWAP_kernel_from_right_tbb ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2042 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SWAP_kernel_from_right_tbb() [2/2]

void apply_SWAP_kernel_from_right_tbb ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2043 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SWAP_kernel_from_right_tbb_impl()

template<typename MatrixT >
void apply_SWAP_kernel_from_right_tbb_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 1194 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_SWAP_kernel_to_input() [1/2]

void apply_SWAP_kernel_to_input ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Applies the SWAP gate kernel to the input matrix.

Parameters
inputThe input matrix on which the transformation is applied.
target_qbitsThe target qubits (must contain exactly 2 elements).
control_qbitsThe control qubits (empty vector if no control qubits).
matrix_sizeThe size of the input.

Definition at line 2007 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SWAP_kernel_to_input() [2/2]

void apply_SWAP_kernel_to_input ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2008 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SWAP_kernel_to_input_impl()

template<typename MatrixT >
void apply_SWAP_kernel_to_input_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 486 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_SWAP_kernel_to_input_omp() [1/2]

void apply_SWAP_kernel_to_input_omp ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2073 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SWAP_kernel_to_input_omp() [2/2]

void apply_SWAP_kernel_to_input_omp ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2074 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SWAP_kernel_to_input_omp_impl()

template<typename MatrixT >
void apply_SWAP_kernel_to_input_omp_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 1771 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_SWAP_kernel_to_input_tbb() [1/2]

void apply_SWAP_kernel_to_input_tbb ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2040 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SWAP_kernel_to_input_tbb() [2/2]

void apply_SWAP_kernel_to_input_tbb ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2041 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SWAP_kernel_to_input_tbb_impl()

template<typename MatrixT >
void apply_SWAP_kernel_to_input_tbb_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 1141 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_SYC_kernel_from_right() [1/2]

void apply_SYC_kernel_from_right ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2013 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SYC_kernel_from_right() [2/2]

void apply_SYC_kernel_from_right ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2014 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SYC_kernel_from_right_impl()

template<typename MatrixT >
void apply_SYC_kernel_from_right_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 642 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SYC_kernel_from_right_omp() [1/2]

void apply_SYC_kernel_from_right_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2079 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SYC_kernel_from_right_omp() [2/2]

void apply_SYC_kernel_from_right_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2080 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SYC_kernel_from_right_omp_impl()

template<typename MatrixT >
void apply_SYC_kernel_from_right_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1927 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SYC_kernel_from_right_tbb() [1/2]

void apply_SYC_kernel_from_right_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2046 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SYC_kernel_from_right_tbb() [2/2]

void apply_SYC_kernel_from_right_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2047 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SYC_kernel_from_right_tbb_impl()

template<typename MatrixT >
void apply_SYC_kernel_from_right_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1303 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SYC_kernel_to_input() [1/2]

void apply_SYC_kernel_to_input ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2011 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SYC_kernel_to_input() [2/2]

void apply_SYC_kernel_to_input ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2012 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SYC_kernel_to_input_impl()

template<typename MatrixT >
void apply_SYC_kernel_to_input_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 582 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SYC_kernel_to_input_omp() [1/2]

void apply_SYC_kernel_to_input_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2077 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SYC_kernel_to_input_omp() [2/2]

void apply_SYC_kernel_to_input_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2078 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SYC_kernel_to_input_omp_impl()

template<typename MatrixT >
void apply_SYC_kernel_to_input_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1867 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SYC_kernel_to_input_tbb() [1/2]

void apply_SYC_kernel_to_input_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2044 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_SYC_kernel_to_input_tbb() [2/2]

void apply_SYC_kernel_to_input_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2045 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_SYC_kernel_to_input_tbb_impl()

template<typename MatrixT >
void apply_SYC_kernel_to_input_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1244 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_T_kernel_from_right() [1/2]

void apply_T_kernel_from_right ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2005 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_from_right() [2/2]

void apply_T_kernel_from_right ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2006 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_from_right_impl()

template<typename MatrixT >
void apply_T_kernel_from_right_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 455 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_T_kernel_from_right_omp() [1/2]

void apply_T_kernel_from_right_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2071 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_from_right_omp() [2/2]

void apply_T_kernel_from_right_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2072 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_from_right_omp_impl()

template<typename MatrixT >
void apply_T_kernel_from_right_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1743 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_T_kernel_from_right_tbb() [1/2]

void apply_T_kernel_from_right_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2038 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_from_right_tbb() [2/2]

void apply_T_kernel_from_right_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2039 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_from_right_tbb_impl()

template<typename MatrixT >
void apply_T_kernel_from_right_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1110 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_T_kernel_to_input() [1/2]

void apply_T_kernel_to_input ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Applies the T gate kernel to the input matrix.

Parameters
inputThe input matrix on which the transformation is applied.
target_qbitThe target qubit on which the transformation should be applied.
control_qbitThe control qubit (-1 if there is no control qubit).
matrix_sizeThe size of the input.

Definition at line 2003 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_to_input() [2/2]

void apply_T_kernel_to_input ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2004 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_to_input_impl()

template<typename MatrixT >
void apply_T_kernel_to_input_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 423 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_T_kernel_to_input_omp() [1/2]

void apply_T_kernel_to_input_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2069 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_to_input_omp() [2/2]

void apply_T_kernel_to_input_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2070 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_to_input_omp_impl()

template<typename MatrixT >
void apply_T_kernel_to_input_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1710 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_T_kernel_to_input_tbb() [1/2]

void apply_T_kernel_to_input_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2036 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_to_input_tbb() [2/2]

void apply_T_kernel_to_input_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2037 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_T_kernel_to_input_tbb_impl()

template<typename MatrixT >
void apply_T_kernel_to_input_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1075 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_X_kernel_from_right() [1/2]

void apply_X_kernel_from_right ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 1985 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_X_kernel_from_right() [2/2]

void apply_X_kernel_from_right ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 1986 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_X_kernel_from_right_impl()

template<typename MatrixT >
void apply_X_kernel_from_right_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 96 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_X_kernel_from_right_omp() [1/2]

void apply_X_kernel_from_right_omp ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2051 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_X_kernel_from_right_omp() [2/2]

void apply_X_kernel_from_right_omp ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2052 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_X_kernel_from_right_omp_impl()

template<typename MatrixT >
void apply_X_kernel_from_right_omp_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 1407 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_X_kernel_from_right_tbb() [1/2]

void apply_X_kernel_from_right_tbb ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2018 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_X_kernel_from_right_tbb() [2/2]

void apply_X_kernel_from_right_tbb ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2019 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_X_kernel_from_right_tbb_impl()

template<typename MatrixT >
void apply_X_kernel_from_right_tbb_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 749 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_X_kernel_to_input() [1/2]

void apply_X_kernel_to_input ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Applies the X gate kernel to the input matrix.

Parameters
inputThe input matrix on which the transformation is applied.
target_qbitsThe target qubits (must contain exactly 1 element).
control_qbitsThe control qubits (empty vector if no control qubits).
matrix_sizeThe size of the input.

Definition at line 1983 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_X_kernel_to_input() [2/2]

void apply_X_kernel_to_input ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 1984 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_X_kernel_to_input_impl()

template<typename MatrixT >
void apply_X_kernel_to_input_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Call to apply X gate kernel on an input matrix.

Parameters
inputThe input matrix on which the transformation is applied
target_qbitsThe target qubits (must contain exactly 1 element)
control_qbitsThe control qubits (empty vector if no control qubits)
matrix_sizeThe size of the input

Definition at line 46 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_X_kernel_to_input_omp() [1/2]

void apply_X_kernel_to_input_omp ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2049 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_X_kernel_to_input_omp() [2/2]

void apply_X_kernel_to_input_omp ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2050 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_X_kernel_to_input_omp_impl()

template<typename MatrixT >
void apply_X_kernel_to_input_omp_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 1361 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_X_kernel_to_input_tbb() [1/2]

void apply_X_kernel_to_input_tbb ( Matrix input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2016 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_X_kernel_to_input_tbb() [2/2]

void apply_X_kernel_to_input_tbb ( Matrix_float input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 2017 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_X_kernel_to_input_tbb_impl()

template<typename MatrixT >
void apply_X_kernel_to_input_tbb_impl ( MatrixT &  input,
const std::vector< int > &  target_qbits,
const std::vector< int > &  control_qbits,
const int matrix_size 
)

Definition at line 700 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Y_kernel_from_right() [1/2]

void apply_Y_kernel_from_right ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1989 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_from_right() [2/2]

void apply_Y_kernel_from_right ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1990 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_from_right_impl()

template<typename MatrixT >
void apply_Y_kernel_from_right_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 182 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Y_kernel_from_right_omp() [1/2]

void apply_Y_kernel_from_right_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2055 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_from_right_omp() [2/2]

void apply_Y_kernel_from_right_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2056 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_from_right_omp_impl()

template<typename MatrixT >
void apply_Y_kernel_from_right_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1490 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Y_kernel_from_right_tbb() [1/2]

void apply_Y_kernel_from_right_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2022 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_from_right_tbb() [2/2]

void apply_Y_kernel_from_right_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2023 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_from_right_tbb_impl()

template<typename MatrixT >
void apply_Y_kernel_from_right_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 837 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Y_kernel_to_input() [1/2]

void apply_Y_kernel_to_input ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Applies the Y gate kernel to the input matrix.

Parameters
inputThe input matrix on which the transformation is applied.
target_qbitThe target qubit on which the transformation should be applied.
control_qbitThe control qubit (-1 if there is no control qubit).
matrix_sizeThe size of the input.

Definition at line 1987 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_to_input() [2/2]

void apply_Y_kernel_to_input ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1988 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_to_input_impl()

template<typename MatrixT >
void apply_Y_kernel_to_input_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 139 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Y_kernel_to_input_omp() [1/2]

void apply_Y_kernel_to_input_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2053 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_to_input_omp() [2/2]

void apply_Y_kernel_to_input_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2054 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_to_input_omp_impl()

template<typename MatrixT >
void apply_Y_kernel_to_input_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1450 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Y_kernel_to_input_tbb() [1/2]

void apply_Y_kernel_to_input_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2020 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_to_input_tbb() [2/2]

void apply_Y_kernel_to_input_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2021 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Y_kernel_to_input_tbb_impl()

template<typename MatrixT >
void apply_Y_kernel_to_input_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 795 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Z_kernel_from_right() [1/2]

void apply_Z_kernel_from_right ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1993 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_Z_kernel_from_right() [2/2]

void apply_Z_kernel_from_right ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1994 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Z_kernel_from_right_impl()

template<typename MatrixT >
void apply_Z_kernel_from_right_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 256 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Z_kernel_from_right_omp() [1/2]

void apply_Z_kernel_from_right_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2059 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Z_kernel_from_right_omp() [2/2]

void apply_Z_kernel_from_right_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2060 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Z_kernel_from_right_omp_impl()

template<typename MatrixT >
void apply_Z_kernel_from_right_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1554 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Z_kernel_from_right_tbb() [1/2]

void apply_Z_kernel_from_right_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2026 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_Z_kernel_from_right_tbb() [2/2]

void apply_Z_kernel_from_right_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2027 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Z_kernel_from_right_tbb_impl()

template<typename MatrixT >
void apply_Z_kernel_from_right_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 906 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Z_kernel_to_input() [1/2]

void apply_Z_kernel_to_input ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Applies the Z gate kernel to the input matrix.

Parameters
inputThe input matrix on which the transformation is applied.
target_qbitThe target qubit on which the transformation should be applied.
control_qbitThe control qubit (-1 if there is no control qubit).
matrix_sizeThe size of the input.

Definition at line 1991 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_Z_kernel_to_input() [2/2]

void apply_Z_kernel_to_input ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1992 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Z_kernel_to_input_impl()

template<typename MatrixT >
void apply_Z_kernel_to_input_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 221 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Z_kernel_to_input_omp() [1/2]

void apply_Z_kernel_to_input_omp ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2057 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_Z_kernel_to_input_omp() [2/2]

void apply_Z_kernel_to_input_omp ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2058 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Z_kernel_to_input_omp_impl()

template<typename MatrixT >
void apply_Z_kernel_to_input_omp_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 1522 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function:

◆ apply_Z_kernel_to_input_tbb() [1/2]

void apply_Z_kernel_to_input_tbb ( Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2024 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_Z_kernel_to_input_tbb() [2/2]

void apply_Z_kernel_to_input_tbb ( Matrix_float input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 2025 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_Z_kernel_to_input_tbb_impl()

template<typename MatrixT >
void apply_Z_kernel_to_input_tbb_impl ( MatrixT &  input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 872 of file apply_dedicated_gate_kernel_to_input.cpp.

Here is the caller graph for this function: