22 lines
No EOL
283 B
C++
22 lines
No EOL
283 B
C++
#pragma once
|
|
|
|
#include "Qubit.h"
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
class QuantumState
|
|
{
|
|
public:
|
|
void addValue(const Qubit& data)
|
|
{
|
|
mState.push_back(data);
|
|
}
|
|
|
|
const std::vector<Qubit>& getData() const;
|
|
|
|
std::string toString() const;
|
|
|
|
private:
|
|
std::vector<Qubit> mState;
|
|
}; |