Maestro 0.3.11
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
QCSimTensorUtils.h File Reference
#include "MPSSimulator.h"
#include <functional>
#include <type_traits>
Include dependency graph for QCSimTensorUtils.h:

Go to the source code of this file.

Classes

struct  Simulators::Private::HasBondSummary< T, typename >
struct  Simulators::Private::HasBondSummary< T, std::void_t< decltype(std::declval< T & >().SetBondDimensionSummaryCallback(std::declval< std::function< void(Eigen::Index)> >()))> >
struct  Simulators::Private::HasNormalizedTensorExpectationBatch< T, typename >
struct  Simulators::Private::HasNormalizedTensorExpectationBatch< T, std::void_t< decltype(std::declval< const T & >().ExpectationValues(std::declval< const std::vector< std::string > & >(), true))> >
struct  Simulators::Private::HasTensorExpectationBatch< T, typename >
struct  Simulators::Private::HasTensorExpectationBatch< T, std::void_t< decltype(std::declval< T & >().ExpectationValues(std::declval< const std::vector< std::string > & >()))> >

Namespaces

namespace  Simulators
 Bounded online routing based on current physical bond dimensions.
namespace  Simulators::Private

Functions

template<typename T>
std::vector< std::complex< double > > Simulators::Private::ComplexTensorExpectationBatch (const T &backend, const std::vector< std::string > &paulis, bool normalized)
template<typename T, typename Callback>
void Simulators::Private::InstallBondSummary (T &backend, Callback callback)
template<typename T>
std::vector< std::complex< double > > Simulators::Private::TensorExpectationBatch (T &backend, const std::vector< std::string > &paulis)