|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
#include <map>#include <cstdlib>#include <time.h>#include <ctime>#include "common.h"#include "U3.h"#include "CNOT.h"#include "matrix.h"#include "matrix_float.h"#include "matrix_real_float.h"#include "logging.h"

Go to the source code of this file.
Classes | |
| class | Random_Unitary |
| A class to create general random unitary matrices according to arXiv:1303.5904v1. More... | |
Functions | |
| Matrix | few_CNOT_unitary (int qbit_num, int cnot_num) |
| Call to create a random unitary constructed by CNOT operation between randomly chosen qubits and by random U3 operations. More... | |
Call to create a random unitary constructed by CNOT operation between randomly chosen qubits and by random U3 operations.
| qbit_num | The number of qubits spanning the unitary. |
| cnot_num | The number of CNOT gates composing the random unitary. |
Definition at line 39 of file Random_Unitary.cpp.


1.8.13