A class to cerate general random unitary matrix according to arXiv:1303:5904v1.
More...
#include <Random_Orthogonal.h>
A class to cerate general random unitary matrix according to arXiv:1303:5904v1.
Definition at line 41 of file Random_Orthogonal.h.
◆ Random_Orthogonal()
Random_Orthogonal::Random_Orthogonal |
( |
int |
dim_in | ) |
|
Constructor of the class.
- Parameters
-
dim_in | The number of rows in the random unitary to be ceated. |
- Returns
- An instance of the class
Definition at line 37 of file Random_Orthogonal.cpp.
◆ Construct_Orthogonal_Matrix() [1/2]
Matrix Random_Orthogonal::Construct_Orthogonal_Matrix |
( |
| ) |
|
Call to create a random unitary.
- Returns
- Returns with a pointer to the created random unitary
Definition at line 54 of file Random_Orthogonal.cpp.
◆ Construct_Orthogonal_Matrix() [2/2]
Generates a unitary matrix from parameters vartheta, varphi, varkappa according to arXiv:1303:5904v1.
- Parameters
-
vartheta | array of dim*(dim-1)/2 elements |
varphi | array of dim*(dim-1)/2 elements |
varkappa | array of dim-1 elements |
- Returns
- Returns with a pointer to the generated unitary
Definition at line 84 of file Random_Orthogonal.cpp.
◆ print()
void logging::print |
( |
const std::stringstream & |
sstream, |
|
|
int |
verbose_level = 1 |
|
) |
| const |
|
inherited |
Call to print output messages in the function of the verbosity level.
- Parameters
-
sstream | The stringstream input to store the output messages. |
verbose_level | Integer input. High level means write more to the standart output, 0 means write nothing. The default value is set to 1. |
Definition at line 55 of file logging.cpp.
◆ set_debugfile()
void logging::set_debugfile |
( |
std::string |
debugfile | ) |
|
|
inherited |
Call to set the debugfile name.
- Parameters
-
debugfile | String variable. Set the debugfile name. |
Definition at line 95 of file logging.cpp.
◆ set_verbose()
void logging::set_verbose |
( |
int |
verbose_in | ) |
|
|
inherited |
Call to set the verbose attribute.
- Parameters
-
verbose_in | Integer variable. Set the number to specify the verbosity level for output messages. |
Definition at line 85 of file logging.cpp.
◆ debug
Logical variable. Set true to write output messages to the 'debug.txt' file.
Definition at line 53 of file logging.h.
◆ debugfile_name
std::string logging::debugfile_name |
|
inherited |
String variable. Set the debug file name.
Definition at line 56 of file logging.h.
◆ dim
int Random_Orthogonal::dim |
◆ verbose
Set the verbosity level of the output messages.
Definition at line 50 of file logging.h.
The documentation for this class was generated from the following files: