Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/calcunits/QC_measure.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Wed Aug 3 10:14:23 2011 UTC (12 years, 9 months ago) by kaityo
File MIME type: text/x-chdr
File size: 864 byte(s)
First commit
1 //---------------------------------------------------------------------------
2 // Measurement
3 //---------------------------------------------------------------------------
4 #ifndef QC_measureH
5 #define QC_measureH
6 //---------------------------------------------------------------------------
7 #include "QCalcUnit.h"
8 //---------------------------------------------------------------------------
9 class QC_measure : public QCalcUnit
10 {
11 private:
12 int Target;
13 public:
14 QC_measure(const int _Target);
15 static void calc(int target, double BitsR[], double BitsI[], int bits);
16 virtual void Calc(QBits *qBits);
17 virtual std::string GetName(void) const {
18 return "Measure";
19 }
20 #ifdef __USE__MPI
21 static void calcmpi(int t1, double R[], double I[], int N);
22 #endif
23 };
24 //---------------------------------------------------------------------------
25 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26