tket
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
PauliExpBoxUnitaryCalculator.cpp File Reference
#include "tket/Circuit/Simulation/PauliExpBoxUnitaryCalculator.hpp"
#include <algorithm>
#include <tkassert/Assert.hpp>
#include "tket/Circuit/PauliExpBoxes.hpp"
Include dependency graph for PauliExpBoxUnitaryCalculator.cpp:

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< TripletCdtket::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.
 

Variable Documentation

◆ pauli_map

const std::map<Pauli, std::array<Entry, 2> > pauli_map

Definition at line 68 of file PauliExpBoxUnitaryCalculator.cpp.

◆ power_of_i

unsigned power_of_i

Definition at line 76 of file PauliExpBoxUnitaryCalculator.cpp.

◆ set_diagonals

std::vector<unsigned> set_diagonals

Definition at line 83 of file PauliExpBoxUnitaryCalculator.cpp.

◆ sparse_matrix

std::vector<Entry> sparse_matrix

Definition at line 73 of file PauliExpBoxUnitaryCalculator.cpp.

◆ triplets

std::vector<TripletCd> triplets

Definition at line 79 of file PauliExpBoxUnitaryCalculator.cpp.