Maestro 0.1.0
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
State.h File Reference
#include <Eigen/Eigen>
#include <complex>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "framework/linalg/vector.hpp"
#include "SimulatorObserver.h"

Go to the source code of this file.

Classes

class  Simulators::IState
 Interface class for a quantum computing simulator state. More...

Namespaces

namespace  Simulators

Macros

#define _SIMULATOR_STATE_H_

Enumerations

enum class  Simulators::SimulatorType : int { Simulators::kQiskitAer , Simulators::kQCSim , Simulators::kCompositeQiskitAer , Simulators::kCompositeQCSim }
 The type of simulator. More...
enum class  Simulators::SimulationType : int {
  Simulators::kStatevector , Simulators::kMatrixProductState , Simulators::kStabilizer , Simulators::kTensorNetwork ,
  Simulators::kOther
}
 The type of simulation. More...

Detailed Description

Version
1.0

DESCRIPTION

The State interface for a simulator.

This interface is used to define the state of a simulator. Exposes functions to initialize, configure, allocate qubits, measure, apply reset on qubits, and obtain probabilities. Also allows to register observers that will be notified when the state changes.

The interface could be used to pass around the state of a simulator, if operations on the state are not required.

Definition in file State.h.

Macro Definition Documentation

◆ _SIMULATOR_STATE_H_

#define _SIMULATOR_STATE_H_

Definition at line 21 of file State.h.