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

Does RKQC support if statements on a qubit? #1

Open
kgi-github opened this issue Jul 1, 2020 · 0 comments
Open

Does RKQC support if statements on a qubit? #1

kgi-github opened this issue Jul 1, 2020 · 0 comments

Comments

@kgi-github
Copy link

kgi-github commented Jul 1, 2020

Hi,
I am looking for a compiler that will take a high level (e.g. C) program and compile it into quantum gates, such that the function can be called with arguments in a superposition. For example, my c-not:

my_c_not(qubit q[2])
{
        if (q[0] == 1) {
                X(q[1]);
        }
}

Also I would like to implement in a high level language what are sometimes called "quantum oracles". See my question here for more detail.

I am trying to build RKQC but am having a few problems (e.g. the dependency https://github.com/msoeken/dependencies/blob/development/cudd-2.5.0/setup.sh points to ftp://vlsi.colorado.edu which isn't there). Before I try to resolve all the issues, does it sound to you like RKQC is what I'm looking for? In particular can I use if statements on qubits? I have looked at ScaffCC bu their Classical-To-Quantum-Gate feature has been removed. If RKQC doesn't, do you know of any such compiler?

Thanks,
kgi

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

1 participant