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