tket
|
#include "tket/Circuit/Simulation/PauliExpBoxUnitaryCalculator.hpp"
#include <algorithm>
#include <tkassert/Assert.hpp>
#include "tket/Circuit/PauliExpBoxes.hpp"
Go to the source code of this file.
Namespaces | |
namespace | tket |
Defines tket::DeviceCharacterisation, used in NoiseAwarePlacement and in commute_SQ_gates_through_SWAPS as a simple device noise model. | |
namespace | tket::tket_sim |
namespace | tket::tket_sim::internal |
Typedefs | |
typedef Eigen::Triplet< int > | tket::tket_sim::internal::Entry |
Functions | |
std::vector< TripletCd > | tket::tket_sim::internal::get_triplets (const PauliExpBox &box) |
Returns the triplets which make up the sparse unitary matrix of the given box, in ILO-BE convention. | |
const std::map<Pauli, std::array<Entry, 2> > pauli_map |
Definition at line 68 of file PauliExpBoxUnitaryCalculator.cpp.
unsigned power_of_i |
Definition at line 76 of file PauliExpBoxUnitaryCalculator.cpp.
std::vector<unsigned> set_diagonals |
Definition at line 83 of file PauliExpBoxUnitaryCalculator.cpp.
std::vector<Entry> sparse_matrix |
Definition at line 73 of file PauliExpBoxUnitaryCalculator.cpp.
std::vector<TripletCd> triplets |
Definition at line 79 of file PauliExpBoxUnitaryCalculator.cpp.