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

Functions

def _single_pauli_term
 
def _two_pauli_term
 
def build_case_metadata
 
def build_continuity_density_noise ()
 
def build_open_chain_topology
 
def build_optimizer_config ()
 
def build_phase2_continuity_vqe
 
def build_software_metadata ()
 
def build_xxz_hamiltonian
 

Variables

 DEFAULT_ANSATZ
 
 DEFAULT_INNER_BLOCKS
 
 DEFAULT_LAYERS
 
 dtype
 
 PRIMARY_BACKEND
 
 SIGMA_X
 
 SIGMA_Y
 
 SIGMA_Z
 

Detailed Description

Phase-2 continuity VQE builders for partitioning API tests (mirrors benchmarks planner_surface.common).

Function Documentation

◆ _single_pauli_term()

def tests.partitioning.fixtures.continuity._single_pauli_term (   n_qubits)
private

Definition at line 28 of file continuity.py.

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

◆ _two_pauli_term()

def tests.partitioning.fixtures.continuity._two_pauli_term (   n_qubits)
private

Definition at line 38 of file continuity.py.

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

◆ build_case_metadata()

def tests.partitioning.fixtures.continuity.build_case_metadata (   qbit_num)

Definition at line 108 of file continuity.py.

◆ build_continuity_density_noise()

def tests.partitioning.fixtures.continuity.build_continuity_density_noise (   list,
  dict 
)

Definition at line 77 of file continuity.py.

Here is the caller graph for this function:

◆ build_open_chain_topology()

def tests.partitioning.fixtures.continuity.build_open_chain_topology (   qbit_num)

Definition at line 23 of file continuity.py.

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

◆ build_optimizer_config()

def tests.partitioning.fixtures.continuity.build_optimizer_config (   dict)

Definition at line 100 of file continuity.py.

Here is the caller graph for this function:

◆ build_phase2_continuity_vqe()

def tests.partitioning.fixtures.continuity.build_phase2_continuity_vqe (   qbit_num)

Definition at line 129 of file continuity.py.

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

◆ build_software_metadata()

def tests.partitioning.fixtures.continuity.build_software_metadata (   dict)

Definition at line 120 of file continuity.py.

Here is the call graph for this function:

◆ build_xxz_hamiltonian()

def tests.partitioning.fixtures.continuity.build_xxz_hamiltonian (   n_qubits)

Definition at line 51 of file continuity.py.

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

Variable Documentation

◆ DEFAULT_ANSATZ

tests.partitioning.fixtures.continuity.DEFAULT_ANSATZ

Definition at line 17 of file continuity.py.

◆ DEFAULT_INNER_BLOCKS

tests.partitioning.fixtures.continuity.DEFAULT_INNER_BLOCKS

Definition at line 19 of file continuity.py.

◆ DEFAULT_LAYERS

tests.partitioning.fixtures.continuity.DEFAULT_LAYERS

Definition at line 18 of file continuity.py.

◆ dtype

tests.partitioning.fixtures.continuity.dtype

Definition at line 13 of file continuity.py.

◆ PRIMARY_BACKEND

tests.partitioning.fixtures.continuity.PRIMARY_BACKEND

Definition at line 20 of file continuity.py.

◆ SIGMA_X

tests.partitioning.fixtures.continuity.SIGMA_X

Definition at line 13 of file continuity.py.

◆ SIGMA_Y

tests.partitioning.fixtures.continuity.SIGMA_Y

Definition at line 14 of file continuity.py.

◆ SIGMA_Z

tests.partitioning.fixtures.continuity.SIGMA_Z

Definition at line 15 of file continuity.py.