Open cdbf1 opened 4 months ago
Might've been covered in dev meeting, but as we already warn
users compiling to AQT when there are no gate/pulse configs present:
# Create a circuit and compile to AQT without configs uploaded.
circuit = cirq.Circuit(cirq.H(cirq.q(0)))
compiler_output = service.aqt_compile(circuit1)
# Generates the following warning:
# ~/.../python3.11/site-packages/cirq_superstaq/compiler_output.py:282:
# UserWarning: This output only contains compiled circuits (using a default AQT gate set)...
so we could similarly add a warning
to target_info
.
Also, somewhat tangentially: @richrines1 can aqt_get_configs
and aqt_download_cofigs
be unified? (If there's a reason they're separate, can we document it?)
so i think that warning and all the /aqt*configs endpoints will soon be removed altogether:
once these changes are made, it will maybe make sense to allow the same configs/device info to be passed to target_info? that way we could return things like the correct basis gate set
This issue might be a duplicate sub-issue of https://github.com/Infleqtion/client-superstaq/issues/678
What is happening?
When calling the
get_target_info()
method on theaqt_keysight_qpu
provider thebasis_gates
value is currently showing asNone
. Should this instead be showing the basic gate set of the device?How can we reproduce the issue?
The snippet:
returns the dictionary:
while I was expecting the
'basic_gates'
to return a list of the gates available on this device.What should happen?
I was expecting the
'basis_gates'
to return a list of the gates available on this device.Environment
Any additional context?
No response