Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Functions | Variables
benchmark Namespace Reference

Functions

def do_get_qiskit_partitions (filename, max_partition_size)
 
def get_bqskit_partitions (filename, partitioner, max_partition_size)
 
def get_qiskit_partitions (circ, qc, max_partition_size)
 
def test_partitions ()
 

Variables

dictionary bqs_to_squander
 

Function Documentation

◆ do_get_qiskit_partitions()

def benchmark.do_get_qiskit_partitions (   filename,
  max_partition_size 
)

Definition at line 43 of file benchmark.py.

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

◆ get_bqskit_partitions()

def benchmark.get_bqskit_partitions (   filename,
  partitioner,
  max_partition_size 
)

Definition at line 49 of file benchmark.py.

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

◆ get_qiskit_partitions()

def benchmark.get_qiskit_partitions (   circ,
  qc,
  max_partition_size 
)

Definition at line 33 of file benchmark.py.

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

◆ test_partitions()

def benchmark.test_partitions ( )

Definition at line 64 of file benchmark.py.

Here is the call graph for this function:

Variable Documentation

◆ bqs_to_squander

dictionary benchmark.bqs_to_squander
Initial value:
1 = {bqskit.ir.gates.constant.cx.CNOTGate: "CNOT",
2  bqskit.ir.gates.constant.t.TGate: "T",
3  bqskit.ir.gates.constant.h.HGate: "H",
4  bqskit.ir.gates.constant.tdg.TdgGate: "TDG",
5  bqskit.ir.gates.constant.x.XGate: "X",
6  bqskit.ir.gates.constant.y.YGate: "Y",
7  bqskit.ir.gates.constant.z.ZGate: "Z",
8  bqskit.ir.gates.constant.sx.SXGate: "SX",
9  bqskit.ir.gates.constant.ch.CHGate: "CH",
10  bqskit.ir.gates.constant.cz.CZGate: "CZ",
11  bqskit.ir.gates.parameterized.cry.CRYGate: "CRY",
12  bqskit.ir.gates.parameterized.u3.U3Gate: "U3",
13  bqskit.ir.gates.parameterized.rz.RZGate: "RZ",
14  bqskit.ir.gates.parameterized.ry.RYGate: "RY",
15  bqskit.ir.gates.parameterized.rx.RXGate: "RX",}

Definition at line 17 of file benchmark.py.