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
tests.density_matrix.test_density_matrix.TestIntegration Class Reference

Public Member Functions

def test_circuit_with_noise (self)
 
def test_comparison_with_state_vector (self)
 
def test_partial_trace (self)
 
def test_partial_trace_from_numpy (self)
 
def test_u3_cnot_comparison_with_state_vector (self)
 

Detailed Description

Integration tests combining multiple features.

Definition at line 812 of file test_density_matrix.py.

Member Function Documentation

◆ test_circuit_with_noise()

def tests.density_matrix.test_density_matrix.TestIntegration.test_circuit_with_noise (   self)
Test circuit application followed by noise.

Definition at line 815 of file test_density_matrix.py.

◆ test_comparison_with_state_vector()

def tests.density_matrix.test_density_matrix.TestIntegration.test_comparison_with_state_vector (   self)
Test that density matrix evolution matches state vector for pure states.

Definition at line 877 of file test_density_matrix.py.

◆ test_partial_trace()

def tests.density_matrix.test_density_matrix.TestIntegration.test_partial_trace (   self)
Test partial trace operation.

Definition at line 844 of file test_density_matrix.py.

◆ test_partial_trace_from_numpy()

def tests.density_matrix.test_density_matrix.TestIntegration.test_partial_trace_from_numpy (   self)
Test partial trace from NumPy-constructed density matrix.

Definition at line 862 of file test_density_matrix.py.

◆ test_u3_cnot_comparison_with_state_vector()

def tests.density_matrix.test_density_matrix.TestIntegration.test_u3_cnot_comparison_with_state_vector (   self)
Test HEA-relevant U3 plus CNOT evolution against state vector.

Definition at line 906 of file test_density_matrix.py.


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