Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Alex McCaskey <[email protected]>
  • Loading branch information
amccaskey committed Sep 28, 2023
1 parent c2d65b0 commit 2909ffa
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion runtime/cudaq/builder/kernel_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ void exp_pauli(ImplicitLocOpBuilder &builder, const QuakeValue &theta,
strLitTy, builder.getStringAttr(pauliWord));
SmallVector<Value> args{thetaVal, qubitsVal, stringLiteral};
builder.create<quake::ExpPauliOp>(TypeRange{}, args);
return;
}

/// @brief Search the given `FuncOp` for all `CallOps` recursively.
Expand Down
1 change: 0 additions & 1 deletion test/AST-Quake/exp-pauli-1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ int main() {
};
}


// CHECK-LABEL: func.func @__nvqpp__mlirgen__Z4mainE3$_0(
// CHECK-SAME: %[[VAL_0:.*]]: f64) attributes {"cudaq-entrypoint", "cudaq-kernel"} {
// CHECK: %[[VAL_1:.*]] = cc.alloca f64
Expand Down
2 changes: 0 additions & 2 deletions test/AST-Quake/exp-pauli-2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ int main() {
};
}



// CHECK-LABEL: func.func @__nvqpp__mlirgen__Z4mainE3$_0(
// CHECK-SAME: %[[VAL_0:.*]]: f64,
// CHECK-SAME: %[[VAL_1:.*]]: !cc.ptr<i8>) attributes {"cudaq-entrypoint", "cudaq-kernel"} {
Expand Down
2 changes: 1 addition & 1 deletion unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ macro (create_tests_with_backend NVQIR_BACKEND EXTRA_BACKEND_TESTER)
nvqir-${NVQIR_BACKEND} nvqir
cudaq fmt::fmt-header-only
cudaq-platform-default
cudaq-builder
cudaq-builder
gtest_main)
if (${NVQIR_BACKEND} STREQUAL "dm")
target_compile_definitions(${TEST_EXE_NAME} PRIVATE -DCUDAQ_BACKEND_DM)
Expand Down

0 comments on commit 2909ffa

Please sign in to comment.