@@ -182,8 +182,8 @@ inline Status TwoConstantGate(
182182 const unsigned int num_qubits, const unsigned int time,
183183 QsimCircuit* circuit, std::vector<GateMetaData>* metadata) {
184184 unsigned int q0, q1;
185- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
186- (void ) absl::SimpleAtoi (op.qubits (1 ).id (), &q1);
185+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
186+ (void )absl::SimpleAtoi (op.qubits (1 ).id (), &q1);
187187 auto gate = create_f (time, num_qubits - q0 - 1 , num_qubits - q1 - 1 );
188188 Status s = OptionalInsertControls (op, num_qubits, &gate);
189189 if (!s.ok ()) {
@@ -210,7 +210,7 @@ inline Status SingleEigenGate(
210210 unsigned int q0;
211211 float exp, exp_s, gs;
212212 Status u;
213- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
213+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
214214
215215 absl::optional<std::string> exponent_symbol;
216216 u = ParseProtoArg (op, " exponent" , param_map, &exp, &exponent_symbol);
@@ -258,8 +258,8 @@ inline Status TwoEigenGate(
258258 unsigned int q0, q1;
259259 float exp, exp_s, gs;
260260 Status u;
261- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
262- (void ) absl::SimpleAtoi (op.qubits (1 ).id (), &q1);
261+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
262+ (void )absl::SimpleAtoi (op.qubits (1 ).id (), &q1);
263263
264264 absl::optional<std::string> exponent_symbol;
265265 u = ParseProtoArg (op, " exponent" , param_map, &exp, &exponent_symbol);
@@ -397,7 +397,7 @@ inline Status PhasedXGate(const Operation& op, const SymbolMap& param_map,
397397 int q0;
398398 float pexp, pexp_s, exp, exp_s, gs;
399399 Status u;
400- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
400+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
401401
402402 absl::optional<std::string> exponent_symbol;
403403 u = ParseProtoArg (op, " exponent" , param_map, &exp, &exponent_symbol);
@@ -456,8 +456,8 @@ inline Status FsimGate(const Operation& op, const SymbolMap& param_map,
456456 int q0, q1;
457457 float theta, theta_s, phi, phi_s;
458458 Status u;
459- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
460- (void ) absl::SimpleAtoi (op.qubits (1 ).id (), &q1);
459+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
460+ (void )absl::SimpleAtoi (op.qubits (1 ).id (), &q1);
461461
462462 absl::optional<std::string> theta_symbol;
463463 u = ParseProtoArg (op, " theta" , param_map, &theta, &theta_symbol);
@@ -512,8 +512,8 @@ inline Status PhasedISwapGate(const Operation& op, const SymbolMap& param_map,
512512 int q0, q1;
513513 float pexp, pexp_s, exp, exp_s;
514514 Status u;
515- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
516- (void ) absl::SimpleAtoi (op.qubits (1 ).id (), &q1);
515+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q0);
516+ (void )absl::SimpleAtoi (op.qubits (1 ).id (), &q1);
517517
518518 absl::optional<std::string> exponent_symbol;
519519 u = ParseProtoArg (op, " exponent" , param_map, &exp, &exponent_symbol);
@@ -602,7 +602,7 @@ inline Status AsymmetricDepolarizingChannel(const Operation& op,
602602 int q;
603603 float p_x, p_y, p_z;
604604 Status u;
605- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q);
605+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q);
606606
607607 u = ParseProtoArg (op, " p_x" , {}, &p_x);
608608 u = ParseProtoArg (op, " p_y" , {}, &p_y);
@@ -623,7 +623,7 @@ inline Status DepolarizingChannel(const Operation& op,
623623 int q;
624624 float p;
625625 Status u;
626- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q);
626+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q);
627627
628628 u = ParseProtoArg (op, " p" , {}, &p);
629629 if (!u.ok ()) {
@@ -640,7 +640,7 @@ inline Status GADChannel(const Operation& op, const unsigned int num_qubits,
640640 int q;
641641 float p, gamma;
642642 Status u;
643- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q);
643+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q);
644644
645645 u = ParseProtoArg (op, " p" , {}, &p);
646646 if (!u.ok ()) {
@@ -661,7 +661,7 @@ inline Status ResetChannel(const Operation& op, const unsigned int num_qubits,
661661 const unsigned int time,
662662 NoisyQsimCircuit* ncircuit) {
663663 int q;
664- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q);
664+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q);
665665
666666 auto chan = qsim::Cirq::ResetChannel<float >::Create (time, num_qubits - q - 1 );
667667 ncircuit->channels .push_back (chan);
@@ -675,7 +675,7 @@ inline Status AmplitudeDampingChannel(const Operation& op,
675675 int q;
676676 float gamma;
677677 Status u;
678- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q);
678+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q);
679679
680680 u = ParseProtoArg (op, " gamma" , {}, &gamma);
681681 if (!u.ok ()) {
@@ -694,7 +694,7 @@ inline Status PhaseDampingChannel(const Operation& op,
694694 int q;
695695 float gamma;
696696 Status u;
697- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q);
697+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q);
698698
699699 u = ParseProtoArg (op, " gamma" , {}, &gamma);
700700 if (!u.ok ()) {
@@ -714,7 +714,7 @@ inline Status PhaseFlipChannel(const Operation& op,
714714 int q;
715715 float p;
716716 Status u;
717- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q);
717+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q);
718718
719719 u = ParseProtoArg (op, " p" , {}, &p);
720720 if (!u.ok ()) {
@@ -733,7 +733,7 @@ inline Status BitFlipChannel(const Operation& op, const unsigned int num_qubits,
733733 int q;
734734 float p;
735735 Status u;
736- (void ) absl::SimpleAtoi (op.qubits (0 ).id (), &q);
736+ (void )absl::SimpleAtoi (op.qubits (0 ).id (), &q);
737737
738738 u = ParseProtoArg (op, " p" , {}, &p);
739739 if (!u.ok ()) {
0 commit comments