Commit 737060f
authored
Use quantum_volume() function in the PGO script (#15931)
* Use quantum_volume() function in the PGO script
This commit updates the pgo utility scale script to use the
quantum_volume generator function instead of the legacy QuantumVolume
class. When the script was originally written the generator function
didn't exist yet so using the class made sense. But the QuantumVolume
class has since been superseded by the rust generator function and also
the class has also been deprecated pending removal in a future 3.0
release. Using the generator function now will avoid the deprecation
warning during the pgo script run. It will also generate the circuits
faster as the function is much faster and also provide profiling data
for pgo about the quantum_volume function since it is written in rust.
* Update circuit name to reflect the quantum volume value the circuit is for1 parent 09bcf15 commit 737060f
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments