@@ -358,41 +358,3 @@ def test_calculate_quantum_volume_loop_with_readout_correction():
358358 samplers = [cirq .Simulator ()],
359359 add_readout_error_correction = True ,
360360 )
361-
362-
363- def test_deprecated ():
364- with cirq .testing .assert_deprecated (
365- "device_or_qubits" , "use device_graph instead" , deadline = "v0.12"
366- ):
367- # pylint: disable=unexpected-keyword-arg
368- # pylint: disable=missing-kwoa
369- cirq .contrib .quantum_volume .calculate_quantum_volume (
370- num_qubits = 4 ,
371- depth = 4 ,
372- num_circuits = 1 ,
373- routing_attempts = 2 ,
374- random_state = 1 ,
375- device_or_qubits = cirq .GridQubit .rect (3 , 3 ),
376- samplers = [cirq .Simulator ()],
377- add_readout_error_correction = True ,
378- )
379- # pylint: enable=unexpected-keyword-arg
380- # pylint: enable=missing-kwoa
381-
382- with cirq .testing .assert_deprecated (
383- "device_or_qubits" , "use device_graph instead" , deadline = "v0.12"
384- ):
385- # pylint: disable=unexpected-keyword-arg
386- # pylint: disable=missing-kwoa
387- cirq .contrib .quantum_volume .calculate_quantum_volume (
388- num_qubits = 4 ,
389- depth = 4 ,
390- num_circuits = 1 ,
391- routing_attempts = 2 ,
392- random_state = 1 ,
393- device_or_qubits = TestDevice (),
394- samplers = [cirq .Simulator ()],
395- add_readout_error_correction = True ,
396- )
397- # pylint: enable=unexpected-keyword-arg
398- # pylint: enable=missing-kwoa
0 commit comments