Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
List of all members | Public Member Functions | Private Member Functions | Private Attributes
ApplyKernelTestSuite Class Reference

Public Member Functions

void test2QubitGate ()
 
void test3QubitGate ()
 
void test4QubitGate ()
 
void test5QubitGate ()
 
void testNQubit_Gate_speed ()
 
void testNQubitGate_Parallel_GHZ ()
 
void testSmallCircuit ()
 
void testXgateKernel ()
 

Private Member Functions

double fidelity (const Matrix &s1, const Matrix &s2)
 
std::vector< std::vector< int > > generate_combinations (int n, int k)
 
Matrix generateRandomState (int num_qubits)
 

Private Attributes

std::mt19937 rng
 

Detailed Description

Definition at line 18 of file apply_kernel_test.cpp.

Member Function Documentation

◆ fidelity()

double ApplyKernelTestSuite::fidelity ( const Matrix s1,
const Matrix s2 
)
inlineprivate

Definition at line 41 of file apply_kernel_test.cpp.

Here is the caller graph for this function:

◆ generate_combinations()

std::vector<std::vector<int> > ApplyKernelTestSuite::generate_combinations ( int  n,
int  k 
)
inlineprivate

Definition at line 50 of file apply_kernel_test.cpp.

Here is the caller graph for this function:

◆ generateRandomState()

Matrix ApplyKernelTestSuite::generateRandomState ( int  num_qubits)
inlineprivate

Definition at line 21 of file apply_kernel_test.cpp.

Here is the caller graph for this function:

◆ test2QubitGate()

void ApplyKernelTestSuite::test2QubitGate ( )
inline

Definition at line 74 of file apply_kernel_test.cpp.

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

◆ test3QubitGate()

void ApplyKernelTestSuite::test3QubitGate ( )
inline

Definition at line 151 of file apply_kernel_test.cpp.

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

◆ test4QubitGate()

void ApplyKernelTestSuite::test4QubitGate ( )
inline

Definition at line 230 of file apply_kernel_test.cpp.

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

◆ test5QubitGate()

void ApplyKernelTestSuite::test5QubitGate ( )
inline

Definition at line 319 of file apply_kernel_test.cpp.

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

◆ testNQubit_Gate_speed()

void ApplyKernelTestSuite::testNQubit_Gate_speed ( )
inline

Definition at line 490 of file apply_kernel_test.cpp.

Here is the call graph for this function:

◆ testNQubitGate_Parallel_GHZ()

void ApplyKernelTestSuite::testNQubitGate_Parallel_GHZ ( )
inline

Definition at line 411 of file apply_kernel_test.cpp.

Here is the call graph for this function:

◆ testSmallCircuit()

void ApplyKernelTestSuite::testSmallCircuit ( )
inline

Definition at line 440 of file apply_kernel_test.cpp.

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

◆ testXgateKernel()

void ApplyKernelTestSuite::testXgateKernel ( )
inline

Definition at line 529 of file apply_kernel_test.cpp.

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

Member Data Documentation

◆ rng

std::mt19937 ApplyKernelTestSuite::rng
private

Definition at line 19 of file apply_kernel_test.cpp.


The documentation for this class was generated from the following file: