Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Functions
apply_dedicated_gate_kernel_to_input.h File Reference
#include "matrix.h"
#include "common.h"
Include dependency graph for apply_dedicated_gate_kernel_to_input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 

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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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: