This post is exactly what I would like to do but I’m new to Bubble and didn’t get what @jordanfaucet or how @bogwood got it to work at the end.
I would appreciate if someone could give some step-by-step instructions on how to do it.
The goal is to automatically populate the input field with the “number of qubits” and the circuit based on the selected circuit.
For example, if I choose bell circuit > number of qubits gets populated with the value ‘2’ and the build circuit field gets populated with the value ‘HI,CN.’ See below for screenshots.


Similarly, if Shor (factor 15) is selected, number of qubits gets populated to ‘7’ and circuit is ‘HHHIIII,IICINII,IICIINI,IIICINI,ICINICI,IIICINI,IIIINIC,ICIICIN,HIIIIII,CPIIIII,IHIIIII,CITIIII,ICPIIII,IIHIIII.’


Can someone provide some guidance? Thank you!
