Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Variables | |
int | alpha = random.random()*4*np.pi |
qc = vqe_utils.get_interpolated_circuit( alpha ) | |
start = time.time() | |
time_loc = time.time() - start | |
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.
int get_parametric_circuit.alpha = random.random()*4*np.pi |
Definition at line 30 of file get_parametric_circuit.py.
get_parametric_circuit.qc = vqe_utils.get_interpolated_circuit( alpha ) |
Definition at line 34 of file get_parametric_circuit.py.
get_parametric_circuit.start = time.time() |
Definition at line 26 of file get_parametric_circuit.py.
get_parametric_circuit.time_loc = time.time() - start |
Definition at line 37 of file get_parametric_circuit.py.