You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performance degradation due to #1717 is happened in 0.12.0.
#1717 provides pybind for AER::Config. This class will help simulation of circuits that use param_binds (such as in Primitive), but not for general circuits. AER::Config lists all items for configuration even though which are not used in a specified simulation method.
Steps to reproduce the problem
Run circuits with small qubits.
The above results were measured with following codes:
from time import time
from qiskit import QuantumCircuit, transpile
from qiskit_aer import AerSimulator
from qiskit.circuit.library import QuantumVolume
backend = AerSimulator(method='statevector')
print('num_qubits, iteration, elapsed')
for num_qubits in range(3, 15):
circ = QuantumVolume(num_qubits)
circ.measure_all()
circ = transpile(circ, backend)
start_ts = time()
for j in range(100):
ret = backend.run(circ).result()
elapsed = time() - start_ts
print(num_qubits, 100, elapsed)
What is the expected behavior?
No regression.
Suggested solutions
Not list all configuration items.
The text was updated successfully, but these errors were encountered:
Informations
What is the current behavior?
Performance degradation due to #1717 is happened in 0.12.0.
#1717 provides pybind for
AER::Config
. This class will help simulation of circuits that useparam_binds
(such as in Primitive), but not for general circuits.AER::Config
lists all items for configuration even though which are not used in a specified simulation method.Steps to reproduce the problem
Run circuits with small qubits.
The above results were measured with following codes:
What is the expected behavior?
No regression.
Suggested solutions
Not list all configuration items.
The text was updated successfully, but these errors were encountered: