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

Go to the source code of this file.

Classes

class  squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.qgd_Variational_Quantum_Eigensolver_Base
 A QGD Python interface class for the decomposition of N-qubit unitaries into U3 and CNOT gates. More...
 

Namespaces

 squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base
 

Functions

def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.__init__ (self, Hamiltonian, qbit_num, config={}, accelerator_num=0)
 Constructor of the class. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.apply_to (self, parameters_mtx, state_to_be_transformed)
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.Generate_Circuit (self, layers, inner_blocks=1)
 Call to generate the circuit ansatz. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.get_Circuit (self)
 Call to retrieve the incorporated quantum circuit (Squander format) More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.get_Optimized_Parameters (self)
 Call to get the optimized parameters set in numpy array. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.get_Parameter_Num (self)
 Call to get the number of free parameters in the gate structure used for the decomposition. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.get_Qbit_Num (self)
 Call to get the number of qubits in the circuit. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.get_Qiskit_Circuit (self)
 Export the unitary decomposition into Qiskit format. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.get_Second_Renyi_Entropy (self, parameters=None, input_state=None, qubit_list=None)
 Call to get the second Rényi entropy. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.Optimization_Problem (self, parameters)
 Call to evaluate the VQE energy. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.Optimization_Problem_Grad (self, parameters)
 Call to evaluate the VQE energy. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.set_Ansatz (self, ansatz_new)
 Call to set the ansatz type. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.set_Gate_Structure (self, Gate_structure)
 Call to set custom gate structure to used in the decomposition. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.set_Gate_Structure_from_Binary (self, filename)
 Call to set custom layers to the gate structure that are intended to be used in the decomposition from a binary file created from SQUANDER. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.set_Initial_State (self, initial_state)
 Call to get the number of free parameters in the gate structure used for the decomposition. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.set_Optimization_Tolerance (self, tolerance)
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.set_Optimized_Parameters (self, new_params)
 Call to set the parameters which are used as a starting point in the optimization. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.set_Optimizer (self, alg)
 Call to set the optimizer used in the VQE process. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.set_Project_Name (self, project_name)
 Call to set the name of the SQUANDER project. More...
 
def squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.Start_Optimization (self)
 Call to start solving the VQE problem to get the approximation for the ground state. More...
 

Variables

 squander.variational_quantum_eigensolver.qgd_Variational_Quantum_Eigensolver_Base.qbit_num