The Quirk Simulator lets you build small quantum circuits and see the results update as you go. This page covers the basics. El Simulador Quirk te permite construir pequeños circuitos cuánticos y ver los resultados a medida que trabajas. Esta página cubre lo básico.
The strip at the top and bottom is the gate toolbox. Drag any gate (Hadamard H, Pauli X/Y/Z, controls, and many more) onto a wire to place it. Drag a placed gate off the circuit to remove it, or drop one gate on top of another to swap. Las franjas superior e inferior son la caja de puertas. Arrastra cualquier puerta (Hadamard H, Pauli X/Y/Z, controles y muchas más) sobre un cable para colocarla. Arrastra una puerta fuera del circuito para quitarla, o suéltala sobre otra para intercambiarlas.
Each horizontal line is a qubit, and every qubit starts in the |0⟩ state on the left. Time flows left to right, column by column. Add more wires simply by dropping a gate onto a new row — up to 16 qubits. Cada línea horizontal es un qubit, y todos empiezan en el estado |0⟩ a la izquierda. El tiempo avanza de izquierda a derecha, columna por columna. Añade más cables soltando una puerta en una fila nueva — hasta 16 qubits.
Drop a display gate (Chance, Bloch sphere, Amplitudes) anywhere to inspect the state at that point. The output on the right edge always shows the final amplitudes and probabilities, updating instantly as you edit. Suelta una puerta de visualización (Chance, esfera de Bloch, Amplitudes) en cualquier punto para inspeccionar el estado ahí. La salida del borde derecho siempre muestra las amplitudes y probabilidades finales, actualizándose al instante mientras editas.
Add a control dot to make a gate conditional on another qubit. Time-dependent gates (like X^t) animate on their own so you can watch the state evolve. Use Ctrl+Z / Ctrl+Y or the Undo / Redo buttons at any time. Añade un punto de control para condicionar una puerta a otro qubit. Las puertas dependientes del tiempo (como X^t) se animan solas para ver evolucionar el estado. Usa Ctrl+Z / Ctrl+Y o los botones Deshacer / Rehacer cuando quieras.
Your whole circuit is encoded in the page URL, so just bookmark or copy the link to save or share it. The Export button also gives you a permalink, an image, and other formats. Todo tu circuito se codifica en la URL de la página, así que basta con guardar o copiar el enlace para conservarlo o compartirlo. El botón Export también te da un enlace permanente, una imagen y otros formatos.
Not sure where to begin? Open the Menu button inside the simulator and pick a ready-made circuit — Grover search, quantum teleportation, the Quantum Fourier Transform and more — then tweak it to learn how it works. ¿No sabes por dónde empezar? Abre el botón Menu dentro del simulador y elige un circuito listo — búsqueda de Grover, teletransportación cuántica, la Transformada Cuántica de Fourier y más — y modíficalo para entender cómo funciona.