Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Edoardo-Pedicillo committed Oct 25, 2023
1 parent b3040cf commit 4ece525
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,11 @@ def test_classification_update(qubit):
# generate random lists
mean_gnd_state = generate_update_list(2)
mean_exc_state = generate_update_list(2)
classifiers_hpars = generate_update_list(4)
# perform update
update.iq_angle(RANDOM_FLOAT, PLATFORM, qubit.name)
update.threshold(RANDOM_FLOAT, PLATFORM, qubit.name)
update.mean_gnd_states(mean_gnd_state, PLATFORM, qubit.name)
update.mean_exc_states(mean_exc_state, PLATFORM, qubit.name)
update.classifiers_hpars(classifiers_hpars, PLATFORM, qubit.name)
update.readout_fidelity(RANDOM_FLOAT, PLATFORM, qubit.name)
update.assignment_fidelity(RANDOM_FLOAT, PLATFORM, qubit.name)

Expand All @@ -86,7 +84,6 @@ def test_classification_update(qubit):
assert qubit.threshold == RANDOM_FLOAT
assert qubit.mean_gnd_states == mean_gnd_state
assert qubit.mean_exc_states == mean_exc_state
assert qubit.classifiers_hpars == classifiers_hpars
assert qubit.readout_fidelity == RANDOM_FLOAT
assert qubit.assignment_fidelity == RANDOM_FLOAT

Expand Down

0 comments on commit 4ece525

Please sign in to comment.