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

Go to the source code of this file.

Functions

void apply_kernel_to_state_vector_input_AVX (Matrix &u3_1qbit, Matrix &input, const bool &deriv, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 AVX kernel on a state vector. More...
 
void apply_kernel_to_state_vector_input_parallel_AVX (Matrix &u3_1qbit, Matrix &input, const bool &deriv, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 Parallel AVX kernel on a state vector. More...
 
void apply_kernel_to_state_vector_input_parallel_OpenMP_AVX (Matrix &u3_1qbit, Matrix &input, const bool &deriv, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 Parallel AVX kernel on a state vector (parallelized with OpenMP) More...
 

Function Documentation

◆ apply_kernel_to_state_vector_input_AVX()

void apply_kernel_to_state_vector_input_AVX ( Matrix u3_1qbit,
Matrix input,
const bool deriv,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

AVX kernel on a state vector.

Parameters
u3_1qbitThe 2x2 kernel of the gate operation
inputThe input matrix on which the transformation is applied
derivSet true to apply derivate transformation, false otherwise
target_qbitThe targer qubit on which the transformation should be applied
control_qbitThe contron qubit (-1 if the is no control qubit)
matrix_sizeThe size of the input

Definition at line 41 of file apply_kernel_to_state_vector_input_AVX.cpp.

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

◆ apply_kernel_to_state_vector_input_parallel_AVX()

void apply_kernel_to_state_vector_input_parallel_AVX ( Matrix u3_1qbit,
Matrix input,
const bool deriv,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Parallel AVX kernel on a state vector.

Parameters
u3_1qbitThe 2x2 kernel of the gate operation
inputThe input matrix on which the transformation is applied
derivSet true to apply derivate transformation, false otherwise
target_qbitThe targer qubit on which the transformation should be applied
control_qbitThe contron qubit (-1 if the is no control qubit)
matrix_sizeThe size of the input

Parallel AVX kernel on a state vector.

Parameters
u3_1qbitThe 2x2 kernel of the gate operation
inputThe input matrix on which the transformation is applied
derivSet true to apply derivate transformation, false otherwise
target_qbitThe targer qubit on which the transformation should be applied
control_qbitThe contron qubit (-1 if the is no control qubit)
matrix_sizeThe size of the input

Definition at line 504 of file apply_kernel_to_state_vector_input_AVX.cpp.

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

◆ apply_kernel_to_state_vector_input_parallel_OpenMP_AVX()

void apply_kernel_to_state_vector_input_parallel_OpenMP_AVX ( Matrix u3_1qbit,
Matrix input,
const bool deriv,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Parallel AVX kernel on a state vector (parallelized with OpenMP)

Parameters
u3_1qbitThe 2x2 kernel of the gate operation
inputThe input matrix on which the transformation is applied
derivSet true to apply derivate transformation, false otherwise
target_qbitThe targer qubit on which the transformation should be applied
control_qbitThe contron qubit (-1 if the is no control qubit)
matrix_sizeThe size of the input

Definition at line 272 of file apply_kernel_to_state_vector_input_AVX.cpp.

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