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.h File Reference
#include "matrix.h"
#include "common.h"
Include dependency graph for apply_large_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_2qbit_kernel_to_matrix_input (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 (Matrix &two_qbit_unitary, Matrix &input, const int &inner_qbit, const int &outer_qbit, const int &matrix_size)
 
void apply_3qbit_kernel_to_state_vector_input (Matrix &unitary, Matrix &input, std::vector< int > involved_qbits, const int &matrix_size)
 
void apply_crot_kernel_to_matrix_input (Matrix &u3_1qbit1, Matrix &u3_qbit2, Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_crot_kernel_to_matrix_input_AVX (Matrix &u3_1qbit1, Matrix &u3_qbit2, Matrix &input, const int &target_qbit, const int &control_qbit, const int &matrix_size)
 
void apply_large_kernel_to_input (Matrix &unitary, Matrix &input, std::vector< int > involved_qbits, const int &matrix_size)
 
int get_grain_size (int index_step)
 

Function Documentation

◆ apply_2qbit_kernel_to_matrix_input()

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

Definition at line 100 of file apply_large_kernel_to_input.cpp.

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

◆ apply_2qbit_kernel_to_state_vector_input()

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

Definition at line 56 of file apply_large_kernel_to_input.cpp.

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

◆ apply_3qbit_kernel_to_state_vector_input()

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

Definition at line 155 of file apply_large_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_crot_kernel_to_matrix_input()

void apply_crot_kernel_to_matrix_input ( Matrix u3_1qbit1,
Matrix u3_qbit2,
Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 228 of file apply_large_kernel_to_input.cpp.

Here is the call graph for this function:

◆ apply_crot_kernel_to_matrix_input_AVX()

void apply_crot_kernel_to_matrix_input_AVX ( Matrix u3_1qbit1,
Matrix u3_qbit2,
Matrix input,
const int target_qbit,
const int control_qbit,
const int matrix_size 
)

Definition at line 302 of file apply_large_kernel_to_input.cpp.

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

◆ apply_large_kernel_to_input()

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

Definition at line 38 of file apply_large_kernel_to_input.cpp.

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

◆ get_grain_size()

int get_grain_size ( int  index_step)

Definition at line 28 of file apply_large_kernel_to_input.cpp.

Here is the caller graph for this function: