Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Functions
apply_large_kernel_to_input_AVX.cpp File Reference
#include "apply_large_kernel_to_input_AVX.h"
#include "tbb/tbb.h"
Include dependency graph for apply_large_kernel_to_input_AVX.cpp:

Go to the source code of this file.

Functions

void apply_2qbit_kernel_to_matrix_input_AVX (Matrix &two_qbit_unitary, Matrix &input, const int &inner_qbit, const int &outer_qbit, const int &matrix_size)
 
void apply_2qbit_kernel_to_state_vector_input_AVX (Matrix &two_qbit_unitary, Matrix &input, const int &inner_qbit, const int &outer_qbit, const int &matrix_size)
 
void apply_2qbit_kernel_to_state_vector_input_parallel_AVX (Matrix &two_qbit_unitary, Matrix &input, std::vector< int > involved_qbits, const int &matrix_size)
 
void apply_3qbit_kernel_to_state_vector_input_parallel_AVX (Matrix &unitary, Matrix &input, std::vector< int > involved_qbits, const int &matrix_size)
 
void apply_4qbit_kernel_to_state_vector_input_parallel_AVX (Matrix &unitary, Matrix &input, std::vector< int > involved_qbits, const int &matrix_size)
 
void apply_crot_kernel_to_matrix_input_AVX_parallel (Matrix &u3_1qbit1, Matrix &u3_1qbit2, Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_large_kernel_to_input_AVX (Matrix &unitary, Matrix &input, std::vector< int > involved_qbits, const int &matrix_size)
 
__m256d complex_mult_AVX (__m256d input_vec, __m256d unitary_row_vec, __m256d neg)
 
__m256d get_AVX_vector (double *element_outer, double *element_inner)
 

Function Documentation

◆ apply_2qbit_kernel_to_matrix_input_AVX()

void apply_2qbit_kernel_to_matrix_input_AVX ( Matrix two_qbit_unitary,
Matrix input,
const int inner_qbit,
const int outer_qbit,
const int matrix_size 
)

Definition at line 227 of file apply_large_kernel_to_input_AVX.cpp.

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

◆ apply_2qbit_kernel_to_state_vector_input_AVX()

void apply_2qbit_kernel_to_state_vector_input_AVX ( Matrix two_qbit_unitary,
Matrix input,
const int inner_qbit,
const int outer_qbit,
const int matrix_size 
)

Definition at line 74 of file apply_large_kernel_to_input_AVX.cpp.

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

◆ apply_2qbit_kernel_to_state_vector_input_parallel_AVX()

void apply_2qbit_kernel_to_state_vector_input_parallel_AVX ( Matrix two_qbit_unitary,
Matrix input,
std::vector< int involved_qbits,
const int matrix_size 
)

Definition at line 313 of file apply_large_kernel_to_input_AVX.cpp.

Here is the call graph for this function:

◆ apply_3qbit_kernel_to_state_vector_input_parallel_AVX()

void apply_3qbit_kernel_to_state_vector_input_parallel_AVX ( Matrix unitary,
Matrix input,
std::vector< int involved_qbits,
const int matrix_size 
)

Definition at line 513 of file apply_large_kernel_to_input_AVX.cpp.

Here is the call graph for this function:

◆ apply_4qbit_kernel_to_state_vector_input_parallel_AVX()

void apply_4qbit_kernel_to_state_vector_input_parallel_AVX ( Matrix unitary,
Matrix input,
std::vector< int involved_qbits,
const int matrix_size 
)

Definition at line 652 of file apply_large_kernel_to_input_AVX.cpp.

Here is the call graph for this function:

◆ apply_crot_kernel_to_matrix_input_AVX_parallel()

void apply_crot_kernel_to_matrix_input_AVX_parallel ( Matrix u3_1qbit1,
Matrix u3_1qbit2,
Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 865 of file apply_large_kernel_to_input_AVX.cpp.

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

◆ apply_large_kernel_to_input_AVX()

void apply_large_kernel_to_input_AVX ( Matrix unitary,
Matrix input,
std::vector< int involved_qbits,
const int matrix_size 
)

Definition at line 52 of file apply_large_kernel_to_input_AVX.cpp.

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

◆ complex_mult_AVX()

__m256d complex_mult_AVX ( __m256d  input_vec,
__m256d  unitary_row_vec,
__m256d  neg 
)
inline

Definition at line 39 of file apply_large_kernel_to_input_AVX.cpp.

Here is the caller graph for this function:

◆ get_AVX_vector()

__m256d get_AVX_vector ( double *  element_outer,
double *  element_inner 
)
inline

Definition at line 27 of file apply_large_kernel_to_input_AVX.cpp.

Here is the caller graph for this function: