Skip to content

Latest commit

 

History

History

paulixui

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

PauliX - UI

This sample shows how to create and visualise a very basic quantum circuit with Strange. It consists of a single qubit, and a single gate (the Pauli-X gate) that is applied to that qubit.

Running the sample

To run this application, simply run mvn clean javafx:run

The expected outcome on the console looks like this:

Value = 1

Apart from this, the quantum circuit will also be rendered, which results in the following image: Pauli-X UI

What it is doing

This is doing exactly the same as the previous sample, apart from the rendering that is now added.

You can learn more about this sample in Chapter 3 of Quantum Computing for Java Developers