Skip to content

Commit 1ba92ef

Browse files
Fix missing is2 def.
1 parent 1678882 commit 1ba92ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/gates_qsim.h

+2
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ struct GateFS {
384384
static constexpr char name[] = "fs";
385385
static constexpr unsigned num_qubits = 2;
386386

387+
static constexpr fp_type is2 = static_cast<fp_type>(is2_double);
388+
387389
static GateQSim<fp_type> Create(
388390
unsigned time, unsigned q0, unsigned q1, fp_type theta, fp_type phi) {
389391
if (phi < 0) {

0 commit comments

Comments
 (0)