Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
A simple example file for a decomposition of general random unitaries. More...
#include <iostream>
#include <stdio.h>
#include <map>
#include "common.h"
#include "N_Qubit_Decomposition.h"
#include "Random_Unitary.h"
#include "logging.h"
Go to the source code of this file.
Functions | |
int | main () |
Decomposition of general random unitary matrix into U3 and CNOT gates. More... | |
A simple example file for a decomposition of general random unitaries.
Definition in file decomposition_test.cpp.
int main | ( | ) |
Decomposition of general random unitary matrix into U3 and CNOT gates.
Stringstream input to store the output messages.
Logging variable to set the verbosity level.
Set the verbosity level of the output messages.
[few CNOT]
[few CNOT]
[general random]
[general random]
[creating decomp class]
[creating decomp class]
[set parameters]
[set parameters]
[performing decomposition]
[performing decomposition]
Definition at line 45 of file decomposition_test.cpp.