Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Functions
split Namespace Reference

Functions

def _check_qubits (X, gate_to_qubit, max_qubit)
 
def _do_split_partitions (g, rg, gate_to_qubit, splitfunc, max_qubit)
 
def _get_balanced_initial_partitions (g, rg, gate_to_qubit)
 
def _get_topo_order (g, rg, gate_to_qubit)
 
def _kernighan_lin (g, rg, A, B)
 
def _test_split_qasm ()
 
def split_partitions (c, max_qubit)
 

Function Documentation

◆ _check_qubits()

def split._check_qubits (   X,
  gate_to_qubit,
  max_qubit 
)
private

Definition at line 26 of file split.py.

Here is the caller graph for this function:

◆ _do_split_partitions()

def split._do_split_partitions (   g,
  rg,
  gate_to_qubit,
  splitfunc,
  max_qubit 
)
private

Definition at line 77 of file split.py.

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

◆ _get_balanced_initial_partitions()

def split._get_balanced_initial_partitions (   g,
  rg,
  gate_to_qubit 
)
private

Definition at line 21 of file split.py.

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

◆ _get_topo_order()

def split._get_topo_order (   g,
  rg,
  gate_to_qubit 
)
private

Definition at line 4 of file split.py.

Here is the caller graph for this function:

◆ _kernighan_lin()

def split._kernighan_lin (   g,
  rg,
  A,
  B 
)
private

Definition at line 32 of file split.py.

◆ _test_split_qasm()

def split._test_split_qasm ( )
private

Definition at line 95 of file split.py.

Here is the call graph for this function:

◆ split_partitions()

def split.split_partitions (   c,
  max_qubit 
)

Definition at line 89 of file split.py.

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