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

Functions

def _tensor_perm_from_logical_to_physical (mapping, invert=False)
 
def circuit_to_CNOT_basis
 
def CompareCircuits
 
def get_unitary_from_qiskit_circuit
 Call to retrieve the unitary from QISKIT circuit. More...
 
def get_unitary_from_qiskit_circuit_operator
 
def invert_circuit
 
def qasm_to_squander_circuit
 
def test_circuit_to_CNOT_basis ()
 

Variables

 qiskit_version
 

Function Documentation

◆ _tensor_perm_from_logical_to_physical()

def squander.utils._tensor_perm_from_logical_to_physical (   mapping,
  invert = False 
)
private
Return tensor-axis permutation for a logical-to-physical qubit map.

Definition at line 50 of file utils.py.

Here is the caller graph for this function:

◆ circuit_to_CNOT_basis()

def squander.utils.circuit_to_CNOT_basis (   circ)

Definition at line 456 of file utils.py.

Here is the caller graph for this function:

◆ CompareCircuits()

def squander.utils.CompareCircuits (   circ1)

Definition at line 164 of file utils.py.

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

◆ get_unitary_from_qiskit_circuit()

def squander.utils.get_unitary_from_qiskit_circuit (   circuit)

Call to retrieve the unitary from QISKIT circuit.

Definition at line 63 of file utils.py.

Here is the caller graph for this function:

◆ get_unitary_from_qiskit_circuit_operator()

def squander.utils.get_unitary_from_qiskit_circuit_operator (   circuit)

Definition at line 98 of file utils.py.

Here is the call graph for this function:

◆ invert_circuit()

def squander.utils.invert_circuit (   circ)

Definition at line 266 of file utils.py.

Here is the call graph for this function:

◆ qasm_to_squander_circuit()

def squander.utils.qasm_to_squander_circuit (   filename)

Definition at line 122 of file utils.py.

Here is the call graph for this function:

◆ test_circuit_to_CNOT_basis()

def squander.utils.test_circuit_to_CNOT_basis ( )

Definition at line 727 of file utils.py.

Here is the call graph for this function:

Variable Documentation

◆ qiskit_version

squander.utils.qiskit_version

Definition at line 36 of file utils.py.