Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
tmpxdqgl52i
squander
src-cpp
gates
kernels
include
apply_kernel_to_input.h
Go to the documentation of this file.
1
/*
2
Created on Fri Jun 26 14:13:26 2020
3
Copyright 2020 Peter Rakyta, Ph.D.
4
5
Licensed under the Apache License, Version 2.0 (the "License");
6
you may not use this file except in compliance with the License.
7
You may obtain a copy of the License at
8
9
http://www.apache.org/licenses/LICENSE-2.0
10
11
Unless required by applicable law or agreed to in writing, software
12
distributed under the License is distributed on an "AS IS" BASIS,
13
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
See the License for the specific language governing permissions and
15
limitations under the License.
16
17
@author: Peter Rakyta, Ph.D.
18
*/
24
#ifndef apply_kerel_to_input_H
25
#define apply_kerel_to_input_H
26
27
#include "
matrix.h
"
28
#include "
common.h
"
29
30
40
void
41
apply_kernel_to_input
(
Matrix
& u3_1qbit,
Matrix
& input,
const
bool
& deriv,
const
int
&
target_qbit
,
const
int
&
control_qbit
,
const
int
&
matrix_size
);
42
43
#endif
apply_kernel_to_input
void apply_kernel_to_input(Matrix &u3_1qbit, Matrix &input, const bool &deriv, const int &target_qbit, const int &control_qbit, const int &matrix_size)
Call to apply kernel to apply single qubit gate kernel on an input matrix.
Definition:
apply_kernel_to_input.cpp:42
example.matrix_size
matrix_size
[load Umtx]
Definition:
example.py:58
QC_sim_benchmark.target_qbit
target_qbit
Definition:
QC_sim_benchmark.py:85
matrix.h
Header file of complex array storage array with automatic and thread safe reference counting...
Matrix
Class to store data of complex arrays and its properties.
Definition:
matrix.h:38
common.h
Header file for commonly used functions and wrappers to CBLAS functions.
QC_sim_benchmark.control_qbit
control_qbit
Definition:
QC_sim_benchmark.py:85
Generated on Mon Aug 4 2025 08:06:10 for Sequential Quantum Gate Decomposer by
1.8.13