Cannot Skip `add_clock_resource` even when using `BasicTransmonElement`
When a user adds the clock frequency via BasicTransmonElement
quantum_device= QuantumDevice("DUT")
qubit= BasicTransmonElement("q0")
qubit.clock_freqs.f01(7.3e9) # Add clock freq
quantum_device.add_component(qubit)
And tries to compile a schedule
sched.add(DRAGPulse(G_amp=amp, D_amp=0, phase=0, duration=160e-9, port="q0:mw", clock="q0.01"))
compiled_sched = compiler.compile(
schedule=sched, config=quantum_device.generate_compilation_config()
)
We get this error:
Is this expected?
NB: The clock can be found in the device config of the qubit