Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ repos:

## Check for spelling
- repo: https://github.com/adhtruong/mirrors-typos
rev: v1.42.3
rev: v1.43.2
hooks:
- id: typos
priority: 0
Expand Down
6 changes: 3 additions & 3 deletions test/python/primitives/test_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def observable_0() -> SparsePauliOp:
"""The observable fixture for the tests in this file."""
return SparsePauliOp.from_list([
("II", -1.052373245772859),
("IZ", 0.39793742484318045),
("IS", 0.39793742484318045),
("ZI", -0.39793742484318045),
("ZZ", -0.01128010425623538),
("XX", 0.18093119978423156),
Expand All @@ -75,8 +75,8 @@ def observable_0() -> SparsePauliOp:
@pytest.fixture
def observables_1() -> tuple[SparsePauliOp, SparsePauliOp, SparsePauliOp]:
"""The observable fixture for the tests in this file."""
hamiltonian_1 = SparsePauliOp.from_list([("II", 1), ("IZ", 2), ("XI", 3)])
hamiltonian_2 = SparsePauliOp.from_list([("IZ", 1)])
hamiltonian_1 = SparsePauliOp.from_list([("II", 1), ("IS", 2), ("XI", 3)])
hamiltonian_2 = SparsePauliOp.from_list([("IS", 1)])
hamiltonian_3 = SparsePauliOp.from_list([("ZI", 1), ("ZZ", 1)])

return hamiltonian_1, hamiltonian_2, hamiltonian_3
Expand Down
Loading