Skip to content

Commit

Permalink
[feature/CI_setup] changing the pauli op
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesETsmith committed Jun 7, 2024
1 parent d0a0786 commit dc4db03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_pauli_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ TEST_CASE("test apply multistate") {

TEST_CASE("test apply multistate multistring") {
// Set up PauliOp
std::vector<PauliString> pauli_strings = {"IXYZ", "XXXX", "YZZZ", "ZIII",
"IIII"};
std::vector<std::complex<double>> coeffs = {1i, -2., 42i, 0.5,
std::complex<double>(1e-3, -1e1)};
std::vector<PauliString> pauli_strings = {"IXYZ", "XXXX", "YZZZ",
"ZIII", "IIII", "ZZYY"};
std::vector<std::complex<double>> coeffs = {
1i, -2., 42i, 0.5, std::complex<double>(1e-3, -1e1), 0.1};
PauliOp<double> pauli_op(coeffs, pauli_strings);

size_t const dims = pauli_strings[0].dims();
Expand Down

0 comments on commit dc4db03

Please sign in to comment.