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

Functions

def get_interpolated_circuit (alpha)
 ??????????? More...
 
def get_optimized_circuit (alpha, optimized_parameters_in=None)
 ??????????? More...
 
def get_unitary_distance (Umtx1, Umtx2)
 Calcuates the distance between two unitaries according to Eq. More...
 
def load_preconstructed_data (filename1, filename2)
 Call load precosntructed data for inerpolated optimization. More...
 

Variables

 alpha_vec = None
 
 backend = Aer.get_backend('unitary_simulator')
 Qiskit backend for simulator. More...
 
 optimized_parameters_mtx = None
 

Detailed Description

Copyright 2020 Peter Rakyta, Ph.D.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Function Documentation

◆ get_interpolated_circuit()

def vqe_utils.get_interpolated_circuit (   alpha)

???????????

Returns
???????????

Definition at line 136 of file vqe_utils.py.

Here is the call graph for this function:

◆ get_optimized_circuit()

def vqe_utils.get_optimized_circuit (   alpha,
  optimized_parameters_in = None 
)

???????????

Returns
???????????

Definition at line 75 of file vqe_utils.py.

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

◆ get_unitary_distance()

def vqe_utils.get_unitary_distance (   Umtx1,
  Umtx2 
)

Calcuates the distance between two unitaries according to Eq.

(3) of Ref. ....

Parameters
Umtx1The first unitary
Umtx2The second unitary
Returns
Returns with the calculated distance

Definition at line 61 of file vqe_utils.py.

Here is the caller graph for this function:

◆ load_preconstructed_data()

def vqe_utils.load_preconstructed_data (   filename1,
  filename2 
)

Call load precosntructed data for inerpolated optimization.

Parameters
filename1The filename containing the preconstructed optimizated parameters
filename2The filename containing the parameter values

Definition at line 46 of file vqe_utils.py.

Variable Documentation

◆ alpha_vec

vqe_utils.alpha_vec = None

Definition at line 39 of file vqe_utils.py.

◆ backend

vqe_utils.backend = Aer.get_backend('unitary_simulator')

Qiskit backend for simulator.

Definition at line 34 of file vqe_utils.py.

◆ optimized_parameters_mtx

vqe_utils.optimized_parameters_mtx = None

Definition at line 38 of file vqe_utils.py.