Skip to content

Commit 0e9e738

Browse files
annagrinbmhowe23
andauthored
Fix integration tests broken by #2676 (#2685)
* Fix missing case in ObserveAnsatz Signed-off-by: Anna Gringauze <[email protected]> * Add tests Signed-off-by: Anna Gringauze <[email protected]> * Fix incorrect measurement on Y spinop on quantum devices Signed-off-by: Anna Gringauze <[email protected]> * Update cudaq_observe_term.cpp * DCO Remediation Commit for Anna Gringauze <[email protected]> I, Anna Gringauze <[email protected]>, hereby add my Signed-off-by to this commit: 8884c68 Signed-off-by: Anna Gringauze <[email protected]> * Fix failing test Signed-off-by: Anna Gringauze <[email protected]> * Fix intergration tests Signed-off-by: Anna Gringauze <[email protected]> --------- Signed-off-by: Anna Gringauze <[email protected]> Co-authored-by: Ben Howe <[email protected]>
1 parent 51f6653 commit 0e9e738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targettests/execution/cudaq_observe.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int main() {
4545

4646
// Observe takes the kernel, the spin_op, and the concrete
4747
// parameters for the kernel
48-
double energy = cudaq::observe(10000, ansatz{}, h, .59);
48+
double energy = cudaq::observe(ansatz{}, h, .59);
4949
printf("Energy is %.16lf\n", energy);
5050
return 0;
5151
}

0 commit comments

Comments
 (0)