Qililab is a generic and scalable quantum control library used for fast characterization and calibration of quantum chips. Qililab also offers the ability to execute high-level quantum algorithms with your quantum hardware.
Apache License 2.0
30
stars
2
forks
source link
[BUG] Executing QProgram after creating new Quantum Machines Cluster tries to run a non-existent compiled qua program #702
The compiled qua program should be invalidated from the cache when the Cluster is destroyed.
Actual behavior
The cluster may be destroyed and the cache is not invalidated. This is because cluster is re-created in the update_configuration method and platform knows nothing about it.
Additional information
A quick and nice solution is to move the cache in the Cluster. That way the cache stores only qua programs that are specifically compiled and uploaded for that cluster. If the cluster is re-created then the new cache will be empty.
Expected behavior
The compiled qua program should be invalidated from the cache when the Cluster is destroyed.
Actual behavior
The cluster may be destroyed and the cache is not invalidated. This is because cluster is re-created in the
update_configuration
method and platform knows nothing about it.Additional information
A quick and nice solution is to move the cache in the Cluster. That way the cache stores only qua programs that are specifically compiled and uploaded for that cluster. If the cluster is re-created then the new cache will be empty.
Source code
No response
Tracebacks
No response
System Information
Existing GitHub issues