QuISP
Loading...
Searching...
No Matches
EntangledPhotonPairSource.h
Go to the documentation of this file.
1#pragma once
2
4#include <omnetpp.h>
6#include <vector>
7#include "PhotonicQubit_m.h"
8#include "backends/Backends.h"
12
13namespace quisp::modules {
14
15class EntangledPhotonPairSource : public omnetpp::cSimpleModule {
16 private:
17 // device parameters
23
26
27 protected:
28 virtual void initialize() override;
29 virtual void handleMessage(omnetpp::cMessage* msg) override;
30 virtual void finish() override;
31
32 public:
35 virtual void emitPhotons();
36};
37
38} // namespace quisp::modules
The abstract interface for a quantum backend.
Definition IQuantumBackend.h:19
Definition EntangledPhotonPairSource.h:15
double emission_success_probability
Definition EntangledPhotonPairSource.h:18
~EntangledPhotonPairSource()
Definition EntangledPhotonPairSource.cc:12
virtual void finish() override
Definition EntangledPhotonPairSource.cc:14
double emission_y_error_rate
Definition EntangledPhotonPairSource.h:21
IQuantumBackend * backend
Definition EntangledPhotonPairSource.h:25
EntangledPhotonPairSource()
Definition EntangledPhotonPairSource.cc:10
double emission_jittering_standard_deviation
Definition EntangledPhotonPairSource.h:19
utils::ComponentProvider provider
Definition EntangledPhotonPairSource.h:24
double emission_x_error_rate
Definition EntangledPhotonPairSource.h:20
double emission_z_error_rate
Definition EntangledPhotonPairSource.h:22
virtual void initialize() override
Definition EntangledPhotonPairSource.cc:16
virtual void emitPhotons()
Definition EntangledPhotonPairSource.cc:47
virtual void handleMessage(omnetpp::cMessage *msg) override
handle PhotonicQubit generated by StationaryQubit itself
Definition EntangledPhotonPairSource.cc:31
ComponentProvider class provides a way to access other quisp other modules.
Definition ComponentProvider.h:22
Definition Application.cc:16