Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Functions | Variables
tests.partitioning.fixtures.runtime Namespace Reference

Functions

def build_density_comparison_metrics
 
def build_initial_parameters
 
def coerce_density_matrix_array
 
def density_energy
 
def execute_fused_with_reference
 
def execute_partitioned_with_reference
 

Variables

 PHASE3_RUNTIME_DENSITY_TOL
 
 PHASE3_RUNTIME_ENERGY_TOL
 

Detailed Description

Runtime test helpers using squander.partitioning only (mirrors benchmarks partitioned_runtime.common).

Function Documentation

◆ build_density_comparison_metrics()

def tests.partitioning.fixtures.runtime.build_density_comparison_metrics (   partitioned_density)

Definition at line 38 of file runtime.py.

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

◆ build_initial_parameters()

def tests.partitioning.fixtures.runtime.build_initial_parameters (   param_num)

Definition at line 22 of file runtime.py.

◆ coerce_density_matrix_array()

def tests.partitioning.fixtures.runtime.coerce_density_matrix_array (   density_matrix)

Definition at line 31 of file runtime.py.

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

◆ density_energy()

def tests.partitioning.fixtures.runtime.density_energy (   hamiltonian,
  density_matrix 
)

Definition at line 26 of file runtime.py.

◆ execute_fused_with_reference()

def tests.partitioning.fixtures.runtime.execute_fused_with_reference (   descriptor_set)

Definition at line 69 of file runtime.py.

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

◆ execute_partitioned_with_reference()

def tests.partitioning.fixtures.runtime.execute_partitioned_with_reference (   descriptor_set)

Definition at line 51 of file runtime.py.

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

Variable Documentation

◆ PHASE3_RUNTIME_DENSITY_TOL

tests.partitioning.fixtures.runtime.PHASE3_RUNTIME_DENSITY_TOL

Definition at line 18 of file runtime.py.

◆ PHASE3_RUNTIME_ENERGY_TOL

tests.partitioning.fixtures.runtime.PHASE3_RUNTIME_ENERGY_TOL

Definition at line 19 of file runtime.py.