95 double x_error_rate = 0;
96 double y_error_rate = 0;
97 double z_error_rate = 0;
98 double energy_excitation_rate = 0;
99 double energy_relaxation_rate = 0;
100 this->
setMemoryErrorRates(x_error_rate, y_error_rate, z_error_rate, energy_excitation_rate, energy_relaxation_rate);
103 double h_gate_error_rate = 0;
104 double h_gate_x_error_ratio = 0;
105 double h_gate_z_error_ratio = 0;
106 double h_gate_y_error_ratio = 0;
107 this->
gate_err_h.
setParams(h_gate_x_error_ratio, h_gate_y_error_ratio, h_gate_z_error_ratio, h_gate_error_rate);
109 double x_gate_error_rate = 0;
110 double x_gate_x_error_ratio = 0;
111 double x_gate_z_error_ratio = 0;
112 double x_gate_y_error_ratio = 0;
113 this->
gate_err_x.
setParams(x_gate_x_error_ratio, x_gate_y_error_ratio, x_gate_z_error_ratio, x_gate_error_rate);
115 double z_gate_error_rate = 0;
116 double z_gate_x_error_ratio = 0;
117 double z_gate_z_error_ratio = 0;
118 double z_gate_y_error_ratio = 0;
119 this->
gate_err_z.
setParams(z_gate_x_error_ratio, z_gate_y_error_ratio, z_gate_z_error_ratio, z_gate_error_rate);
121 double cnot_gate_error_rate = 0;
122 double cnot_gate_ix_error_ratio = 0;
123 double cnot_gate_iy_error_ratio = 0;
124 double cnot_gate_iz_error_ratio = 0;
125 double cnot_gate_xi_error_ratio = 0;
126 double cnot_gate_xx_error_ratio = 0;
127 double cnot_gate_xy_error_ratio = 0;
128 double cnot_gate_xz_error_ratio = 0;
129 double cnot_gate_yi_error_ratio = 0;
130 double cnot_gate_yx_error_ratio = 0;
131 double cnot_gate_yy_error_ratio = 0;
132 double cnot_gate_yz_error_ratio = 0;
133 double cnot_gate_zi_error_ratio = 0;
134 double cnot_gate_zx_error_ratio = 0;
135 double cnot_gate_zy_error_ratio = 0;
136 double cnot_gate_zz_error_ratio = 0;
137 this->
gate_err_cnot.
setParams(cnot_gate_error_rate, cnot_gate_ix_error_ratio, cnot_gate_iy_error_ratio, cnot_gate_iz_error_ratio, cnot_gate_xi_error_ratio,
138 cnot_gate_xx_error_ratio, cnot_gate_xy_error_ratio, cnot_gate_xz_error_ratio, cnot_gate_yi_error_ratio, cnot_gate_yx_error_ratio,
139 cnot_gate_yy_error_ratio, cnot_gate_yz_error_ratio, cnot_gate_zi_error_ratio, cnot_gate_zx_error_ratio, cnot_gate_zy_error_ratio,
140 cnot_gate_zz_error_ratio);
142 double x_measurement_error_rate = 0;
143 double y_measurement_error_rate = 0;
144 double z_measurement_error_rate = 0;