Skip to content

Commit

Permalink
Remove resource-intensive tests (#263)
Browse files Browse the repository at this point in the history
## Description

Overlooked a test in the last PR. Opening a new PR.


## Checklist:

<!---
This checklist serves as a reminder of a couple of things that ensure
your pull request will be merged swiftly.
-->

- [x] The pull request only contains commits that are related to it.
- [x] I have added appropriate tests and documentation.
- [x] I have made sure that all CI jobs on GitHub pass.
- [x] The pull request introduces no new warnings and follows the
project's style guidelines.
  • Loading branch information
pehamTom authored Aug 26, 2024
1 parent 3e1e8b0 commit 2719a9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/ft_stateprep/test_stateprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ def test_depth_optimal_prep_consistent(code: CSSCode, request) -> None: # type:
assert eq_span(np.vstack((code.Hz, code.Lz)), z) # type: ignore[arg-type]


@pytest.mark.parametrize("code", ["steane_code", "surface_code"])
@pytest.mark.parametrize("code", ["steane_code"])
def test_plus_state_gate_optimal(code: CSSCode, request) -> None: # type: ignore[no-untyped-def]
"""Test synthesis of the plus state."""
code = request.getfixturevalue(code)
sp_circ_plus = gate_optimal_prep_circuit(code, max_timeout=5, zero_state=False)
sp_circ_plus = gate_optimal_prep_circuit(code, max_timeout=3, zero_state=False)

assert sp_circ_plus is not None
assert not sp_circ_plus.zero_state
Expand Down

0 comments on commit 2719a9b

Please sign in to comment.