https://github.com/ITensor/ITensor
Tip revision: e2c6ea98c5d68dee7ad38c16a7f71574a46589e0 authored by Miles Stoudenmire on 20 August 2015, 19:47:53 UTC
Shortened some type names in cplx_literal.h and names of constants in global.h
Shortened some type names in cplx_literal.h and names of constants in global.h
Tip revision: e2c6ea9
observer.h
//
// Distributed under the ITensor Library License, Version 1.1.
// (See accompanying LICENSE file.)
//
#ifndef __ITENSOR_OBSERVER_H
#define __ITENSOR_OBSERVER_H
#include "spectrum.h"
namespace itensor {
class SVDWorker;
class Observer
{
public:
Observer() { }
void virtual
measure(const Args& args = Global::args()) { }
bool virtual
checkDone(const Args& args = Global::args()) { return false; }
virtual ~Observer() { }
};
} //namespace itensor
#endif