Skip to content

Commit

Permalink
Also increase timeout for steane code construction in simulations.
Browse files Browse the repository at this point in the history
  • Loading branch information
pehamTom committed Sep 10, 2024
1 parent 069d624 commit 3088d85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/ft_stateprep/test_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ def non_ft_steane_plus(steane_code: CSSCode) -> QuantumCircuit:
def ft_steane_zero(steane_code: CSSCode) -> QuantumCircuit:
"""Return a fault-tolerant Steane code state preparation circuit."""
circ = heuristic_prep_circuit(steane_code)
return gate_optimal_verification_circuit(circ, max_timeout=2)
return gate_optimal_verification_circuit(circ, max_timeout=10)


@pytest.fixture
def ft_steane_plus(steane_code: CSSCode) -> QuantumCircuit:
"""Return a fault-tolerant Steane code state preparation circuit."""
circ = heuristic_prep_circuit(steane_code, zero_state=False)
return gate_optimal_verification_circuit(circ, max_timeout=2)
return gate_optimal_verification_circuit(circ, max_timeout=10)


def test_lut(steane_code: CSSCode) -> None:
Expand Down

0 comments on commit 3088d85

Please sign in to comment.