I reallt need some kind of simulator can work like this.Quirk is similar but also require internet.can anyone know how to achieve this?It is very important for some eaducational lesson to students.
2 Answers
$\begingroup$
$\endgroup$
1
Actually, Quirk can work without internet connection. Just click on Export button and choose the "offline copy" option. You will get a single file which contains Quirk and can run from your local machine without internet connection.
$\begingroup$
$\endgroup$
You can do this with the Circuit Composer widget
from ibm_quantum_widgets import CircuitComposer
editor = CircuitComposer()
editor
More info here