Tomographer
v5.4
Tomographer C++ Framework Documentation
|
Produce a random unitary according to the Haar measure. More...
#include <iostream>
#include <random>
#include <Eigen/Core>
#include <tomographer/tools/eigenutil.h>
#include <tomographer/tools/loggers.h>
#include <tomographer/tools/cxxutil.h>
Go to the source code of this file.
Namespaces | |
Tomographer | |
Base namespace for the Tomographer project. | |
Tomographer::MathTools | |
General math routines. | |
Functions | |
template<typename DerU , typename Rng , typename Log > | |
void | Tomographer::MathTools::randomUnitary (Eigen::MatrixBase< DerU > &U, Rng &rng, Log &logger) |
Generate a Haar-distributed random unitary. More... | |
template<typename Der1 , typename Rng > | |
void | Tomographer::MathTools::randomUnitary (Eigen::MatrixBase< Der1 > &U, Rng &rng) |
Overload of randomUnitary(U, rng, logger) which discards all logging messages. | |
Produce a random unitary according to the Haar measure.
Definition in file random_unitary.h.