We're celebrating World Quantum Day 2022! Join us

qsim:: Fuser

#include <fuser.h>

A base class for fuser classes with some common functions.

Summary

Inheritance

Direct Known Subclasses: qsim::BasicGateFuser< IO, Gate >

Protected types

RGate using
typename std::remove_pointer< Gate >::type

Protected static functions

GateToConstRef (const RGate & gate)
const RGate &
GateToConstRef (const RGate *gate)
const RGate &
MergeWithMeasurementTimes (typename std::vector< Gate >::const_iterator gfirst, typename std::vector< Gate >::const_iterator glast, const std::vector< unsigned > & times)
std::vector< unsigned >

Protected types

RGate

typename std::remove_pointer< Gate >::type RGate

Protected static functions

GateToConstRef

const RGate & GateToConstRef(
  const RGate & gate
)

GateToConstRef

const RGate & GateToConstRef(
  const RGate *gate
)

MergeWithMeasurementTimes

std::vector< unsigned > MergeWithMeasurementTimes(
  typename std::vector< Gate >::const_iterator gfirst,
  typename std::vector< Gate >::const_iterator glast,
  const std::vector< unsigned > & times
)