Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
List of all members | Public Member Functions
tests.decomposition.test_State_Preparation.Test_State_Preparation Class Reference

Public Member Functions

def State_Preparation_adaptive_base (self, optimizer, cost_func, compression_enabled=1)
 
def test_State_Preparation_adaptive_false (self)
 
def test_State_Preparation_BFGS (self)
 
def test_State_Preparation_HS (self)
 

Detailed Description

Definition at line 55 of file test_State_Preparation.py.

Member Function Documentation

◆ State_Preparation_adaptive_base()

def tests.decomposition.test_State_Preparation.Test_State_Preparation.State_Preparation_adaptive_base (   self,
  optimizer,
  cost_func,
  compression_enabled = 1 
)

Definition at line 81 of file test_State_Preparation.py.

Here is the caller graph for this function:

◆ test_State_Preparation_adaptive_false()

def tests.decomposition.test_State_Preparation.Test_State_Preparation.test_State_Preparation_adaptive_false (   self)
This method is called by pytest. 
Test to decompose a 4-qubit unitary State

Definition at line 57 of file test_State_Preparation.py.

◆ test_State_Preparation_BFGS()

def tests.decomposition.test_State_Preparation.Test_State_Preparation.test_State_Preparation_BFGS (   self)
This method is called by pytest. 
Test for a 4 qubit state preparation using the BFGS optimizer 

Definition at line 179 of file test_State_Preparation.py.

Here is the call graph for this function:

◆ test_State_Preparation_HS()

def tests.decomposition.test_State_Preparation.Test_State_Preparation.test_State_Preparation_HS (   self)
This method is called by pytest. 
Test for a 4 qubit state preparation using the Hilbert Schmidt test

Definition at line 188 of file test_State_Preparation.py.

Here is the call graph for this function:

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