15#ifndef _SIMULATOR_OBSERVER_H_
16#define _SIMULATOR_OBSERVER_H_
63 std::shared_ptr<ISimulatorObserver>
getptr()
65 return shared_from_this();
105 impl->Update(qubits);
109 std::shared_ptr<Impl> impl;
Interface class for a quantum computing simulator observer.
virtual void Update(const Types::qubits_vector &qubits)=0
Update function that is called each time an update is done.
std::shared_ptr< ISimulatorObserver > getptr()
Get a shared pointer to this object.
virtual ~ISimulatorObserver()=default
Virtual destructor.
SimulatorObserverProxy(const std::shared_ptr< Impl > &impl)
Constructor.
void Update(const Types::qubits_vector &qubits) override
Update function that is called each time an update is done.
Bounded online routing based on current physical bond dimensions.
std::vector< qubit_t > qubits_vector
The type of a vector of qubits.