File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,10 @@ def test_resource_estimation_azure(quantum_algorithm: QuantumAlgorithm) -> None:
66
66
)
67
67
68
68
69
- def test_magic_state_factories (quantum_algorithm : QuantumAlgorithm ) -> None :
70
- """Test that at least one T factory is present in the resource estimate ."""
69
+ def test_physical_counts (quantum_algorithm : QuantumAlgorithm ) -> None :
70
+ """Test that the physical counts from the resource estimates are non-zero ."""
71
71
estimator_result = quantum_algorithm .estimate_resources_azure (
72
72
{"qubitParams" : {"name" : "qubit_gate_ns_e3" }}
73
73
)
74
- assert estimator_result ["physicalCounts" ]["breakdown" ]["numTfactories" ] >= 1
74
+ assert estimator_result ["physicalCounts" ]["physicalQubits" ] > 0
75
+ assert estimator_result ["physicalCounts" ]["runtime" ] > 0
You can’t perform that action at this time.
0 commit comments