#include <pybind11/complex.h>
#include <pybind11/numpy.h>
#include <pybind11/operators.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "density_matrix.h"
#include "density_operation.h"
#include "matrix.h"
#include "noise_channel.h"
#include "noisy_circuit.h"
Go to the source code of this file.
◆ density_matrix_to_numpy()
| py::array_t<std::complex<double> > density_matrix_to_numpy |
( |
const DensityMatrix & |
rho | ) |
|
◆ numpy_to_density_matrix()
| DensityMatrix numpy_to_density_matrix |
( |
py::array_t< std::complex< double >> |
arr | ) |
|
◆ PYBIND11_MODULE()
| PYBIND11_MODULE |
( |
_density_matrix_cpp |
, |
|
|
m |
|
|
) |
| |