Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you give an example of what to put in the inputs? #7

Open
oppiet30 opened this issue Jul 7, 2023 · 1 comment
Open

Can you give an example of what to put in the inputs? #7

oppiet30 opened this issue Jul 7, 2023 · 1 comment

Comments

@oppiet30
Copy link

oppiet30 commented Jul 7, 2023

You don't show what values can be entered into the variables.
What are the minimum and max values?
Are they integers or floats?

I would like an example.

@dtwilliamson
Copy link

The program produces a prompt: enter gate seq (x0,x1,y0,y1,z0,z1,h0,h1,cx,sw). Inputs consist of sequences of those two-character gates. Any invalid input is ignored. If characters upset the alignment (i.e. an odd number of characters) then it's likely that all the rest of the input will be ignored. See the gif on the main page for an example of inout and output. Note that output will differ for the same inout since random numbers are used in the simulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants