Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Random_Orthogonal.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 You should have received a copy of the GNU General Public License
18 along with this program. If not, see http://www.gnu.org/licenses/.
19 
20 @author: Peter Rakyta, Ph.D.
21 */
26 #pragma once
27 #include <map>
28 #include <cstdlib>
29 #include <time.h>
30 #include <ctime>
31 #include "common.h"
32 #include "matrix.h"
33 #include "matrix_real.h"
34 #include "logging.h"
35 
36 
37 
41 class Random_Orthogonal : public logging {
42 
43 
44 public:
46  int dim;
47 
48 
49 
50 public:
51 
57 Random_Orthogonal( int dim_in );
58 
59 
65 
74 
75 };
76 
77 
78 
79 
Random_Orthogonal(int dim_in)
Constructor of the class.
Header file for a class containing basic methods for setting up the verbosity level.
A class to cerate general random unitary matrix according to arXiv:1303:5904v1.
A class containing basic methods for setting up the verbosity level.
Definition: logging.h:43
Header file of complex array storage array with automatic and thread safe reference counting...
Matrix Construct_Orthogonal_Matrix()
Call to create a random unitary.
Class to store data of complex arrays and its properties.
Definition: matrix.h:38
int dim
The number of rows in the created unitary.
Header file for commonly used functions and wrappers to CBLAS functions.
Class to store data of complex arrays and its properties.
Definition: matrix_real.h:39