Skip to content

Commit

Permalink
use GridQubits in test
Browse files Browse the repository at this point in the history
  • Loading branch information
eliottrosenberg committed Jan 25, 2024
1 parent 091e434 commit 6535839
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_estimate_single_qubit_readout_errors_with_noise():


def test_estimate_parallel_readout_errors_no_noise():
qubits = cirq.LineQubit.range(10)
qubits = [cirq.GridQubit(i, 0) for i in range(10)]
sampler = cirq.Simulator()
repetitions = 1000
result = cirq.estimate_parallel_single_qubit_readout_errors(
Expand Down

0 comments on commit 6535839

Please sign in to comment.