Quantum Fog  0.9.3
C_QBIT_ROT_AMP_GEN.h
1 #pragma once
2 #include "C_AMP_GEN.h"
3 #include "QBIT_ROT.h"
4 class QB_NET;
5 #include "C_PI_WIND.h"
6 //notation: transition element <n | m>
7 
8 
9 //******************************************
11 {
12 private:
13  DOUBLE its_thetas[4];//thetas in degrees
14 
15 public:
16  C_QBIT_ROT_AMP_GEN(QBIT_ROT * nd_p, QB_NET * net_p, C_PI_WIND * pi_wind_p);
17  const DOUBLE & get_theta(USHORT j) const;
18  VOID set_theta(USHORT j, const DOUBLE & theta);
19  COMPLEX qbit_rot_amp(USHORT n, USHORT m);
20  BOOLEAN parents_are_canonical();
21  BOOLEAN dialog_entries_are_legal(Str255 theta_p_p[]);
22  VOID fill_trans_mat_and_st_names_of_nd();
23  BOOLEAN talk();
24 
25 };
26 #pragma mark -
27 
28 //******************************************
29 inline
30 const DOUBLE & C_QBIT_ROT_AMP_GEN::get_theta(
31 USHORT j) const //in
32 {
33  return its_thetas[j];
34 }
Definition: QBIT_ROT.h:15
Definition: C_QBIT_ROT_AMP_GEN.h:10
Definition: QB_NET.h:34
Definition: C_PI_WIND.h:18
Definition: C_AMP_GEN.h:10