Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eliottrosenberg committed Jan 16, 2024
1 parent e73aea3 commit 325a70f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cirq-core/cirq/experiments/qubit_characterizations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ def test_parallel_single_qubit_randomized_benchmarking():
for qubit in qubits:
g_pops = np.asarray(results._results_dictionary[qubit].data)[:, 1]
assert np.isclose(np.mean(g_pops), 1.0)
_ = results.plot_single_qubit(qubit)
pauli_errors = results.pauli_error()
assert len(pauli_errors) == len(qubits)
_ = results.plot_heatmap()
_ = results.plot_integrated_histogram()


def test_two_qubit_randomized_benchmarking():
Expand Down

0 comments on commit 325a70f

Please sign in to comment.