Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
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 | |
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.
def vqe_utils.get_interpolated_circuit | ( | alpha | ) |
???????????
Definition at line 136 of file vqe_utils.py.
def vqe_utils.get_optimized_circuit | ( | alpha, | |
optimized_parameters_in = None |
|||
) |
???????????
Definition at line 75 of file vqe_utils.py.
def vqe_utils.get_unitary_distance | ( | Umtx1, | |
Umtx2 | |||
) |
Calcuates the distance between two unitaries according to Eq.
(3) of Ref. ....
Umtx1 | The first unitary |
Umtx2 | The second unitary |
Definition at line 61 of file vqe_utils.py.
def vqe_utils.load_preconstructed_data | ( | filename1, | |
filename2 | |||
) |
Call load precosntructed data for inerpolated optimization.
filename1 | The filename containing the preconstructed optimizated parameters |
filename2 | The filename containing the parameter values |
Definition at line 46 of file vqe_utils.py.
vqe_utils.alpha_vec = None |
Definition at line 39 of file vqe_utils.py.
vqe_utils.backend = Aer.get_backend('unitary_simulator') |
Qiskit backend for simulator.
Definition at line 34 of file vqe_utils.py.
vqe_utils.optimized_parameters_mtx = None |
Definition at line 38 of file vqe_utils.py.