Skip to content

Commit

Permalink
[feature/CI_setup] more CI tinkering
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesETsmith committed Jun 11, 2024
1 parent f5350ff commit 0f2ae67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_pauli_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ TEST_CASE("test apply multistate") {
__check_apply(pauli_op, 10);
}

TEST_CASE("test apply single states multistring") {
TEST_CASE("test apply single state multistring") {
// Set up PauliOp
std::vector<PauliString> pauli_strings = {"XXY", "YYZ"};
std::vector<std::complex<double>> coeffs = {1i, -1.23};
Expand All @@ -183,8 +183,7 @@ TEST_CASE("test apply multistate multistring") {

TEST_CASE("test apply multistate multistring identity") {
// Set up PauliOp
std::vector<PauliString> pauli_strings = {"IIIIII", "IIIIII", "IIIIII",
"IIIIII", "IIIIII", "IIIIII"};
std::vector<PauliString> pauli_strings(10, "IIII");
std::vector<std::complex<double>> coeffs(pauli_strings.size(),
1. / pauli_strings.size());
PauliOp<double> pauli_op(coeffs, pauli_strings);
Expand Down

0 comments on commit 0f2ae67

Please sign in to comment.