Skip to content

Commit

Permalink
Patch density matrix test bug in release mode (NVIDIA#1053)
Browse files Browse the repository at this point in the history
Fixes a bug occurring during release builds on the QPPDMTester
Removes unneeded includes from dm tester

* patch the release bug

Signed-off-by: A.M. Santana <[email protected]>

* revert cmake changes

Signed-off-by: A.M. Santana <[email protected]>

---------

Signed-off-by: A.M. Santana <[email protected]>
  • Loading branch information
anthony-santana authored Dec 21, 2023
1 parent e359136 commit 6912fe5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions unittests/backends/QPPDMTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
* the terms of the Apache License 2.0 which accompanies this distribution. *
******************************************************************************/

#include <complex>
#include "QppDMCircuitSimulator.cpp"

#include <gtest/gtest.h>
#include <iostream>
#include <math.h>

#include "CUDAQTestUtils.h"
#include "QppDMCircuitSimulator.cpp"

void print_state(const qpp::cmat &densityMatrix) {
std::cout << "state = [";
Expand Down

0 comments on commit 6912fe5

Please sign in to comment.