Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Classes | Namespaces | Functions
qgd_Circuit.py File Reference

#!/usr/bin/env python3 -*- coding: utf-8 -*- More...

Go to the source code of this file.

Classes

class  squander.gates.qgd_Circuit.qgd_Circuit
 A QGD Python interface class for the Gates_Block. More...
 

Namespaces

 squander.gates.qgd_Circuit
 

Functions

def squander.gates.qgd_Circuit.__init__ (self, qbit_num)
 Constructor of the class. More...
 
def squander.gates.qgd_Circuit.add_adaptive (self, target_qbit, control_qbit)
 
def squander.gates.qgd_Circuit.add_CH (self, target_qbit, control_qbit)
 
def squander.gates.qgd_Circuit.add_Circuit (self, gate)
 
def squander.gates.qgd_Circuit.add_CNOT (self, target_qbit, control_qbit)
 
def squander.gates.qgd_Circuit.add_CROT (self, target_qbit, control_qbit, subtype)
 
def squander.gates.qgd_Circuit.add_CZ (self, target_qbit, control_qbit)
 
def squander.gates.qgd_Circuit.add_Gate (self, qgd_gate)
 
def squander.gates.qgd_Circuit.add_H (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_R (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_RX (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_RY (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_RZ (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_SX (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_SYC (self, target_qbit, control_qbit)
 
def squander.gates.qgd_Circuit.add_T (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_Tdg (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_U1 (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_U2 (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_U3 (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_X (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_Y (self, target_qbit)
 
def squander.gates.qgd_Circuit.add_Z (self, target_qbit)
 
def squander.gates.qgd_Circuit.apply_to (self, parameters_mtx, unitary_mtx, parallel=1)
 
def squander.gates.qgd_Circuit.get_Children (self, gate)
 
def squander.gates.qgd_Circuit.get_Circuit_Depth (self)
 
def squander.gates.qgd_Circuit.get_Gate_Nums (self)
 Call to get statisctics on the gate counts in the circuit. More...
 
def squander.gates.qgd_Circuit.get_Gates (self)
 Call to get the list of gates (or subcircuits) in the circuit. More...
 
def squander.gates.qgd_Circuit.get_Matrix (self, parameters_mtx)
 
def squander.gates.qgd_Circuit.get_Parameter_Num (self)
 
def squander.gates.qgd_Circuit.get_Parameter_Start_Index (self)
 
def squander.gates.qgd_Circuit.get_Parents (self, gate)
 
def squander.gates.qgd_Circuit.get_Qbit_Num (self)
 Call to get the number of qubits in the circuit. More...
 
def squander.gates.qgd_Circuit.get_Qbits (self)
 Call to get the list of qubits involved in the circuit. More...
 
def squander.gates.qgd_Circuit.get_Second_Renyi_Entropy (self, parameters=None, input_state=None, qubit_list=None)
 Call to get the second Rényi entropy. More...
 
def squander.gates.qgd_Circuit.Remap_Qbits (self, qbit_map, qbit_num=None)
 Call to remap the qubits in the circuit. More...
 

Detailed Description

#!/usr/bin/env python3 -*- coding: utf-8 -*-

A Python interface class representing Squander circuit.

Definition in file qgd_Circuit.py.