tket
Loading...
Searching...
No Matches
Namespaces | Functions
MeasurePass.cpp File Reference
#include "tket/Transformations/MeasurePass.hpp"
#include <optional>
#include "tket/Circuit/DAGDefs.hpp"
#include "tket/OpType/EdgeType.hpp"
#include "tket/OpType/OpTypeFunctions.hpp"
#include "tket/Ops/OpPtr.hpp"
#include "tket/Transformations/Transform.hpp"
Include dependency graph for MeasurePass.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::Transforms
 
namespace  tket::Transforms::DelayMeasures
 

Functions

Transform tket::Transforms::delay_measures (bool allow_partial=false)
 Commute all measurement gates to the end of the circuit.
 
bool tket::Transforms::DelayMeasures::check_only_end_measures (const Command &com, unit_set_t &measured_units)
 Gathers all end-measurements, and adds the measured units to the list.
 
std::pair< bool, bool > tket::Transforms::DelayMeasures::run_delay_measures (Circuit &circ, bool allow_partial=false, bool dry_run=false)
 Commute all measurement gates to the end of the circuit.