Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions about the construction of complex circuits using elementary quantum gates.
2
votes
2
answers
128
views
What's my computational basis if I want to define a unitary operator that implements a funct...
I know I must define $U_f$, the unitary operator, on the computational basis. But what's my computational basis here?
11
votes
3
answers
1k
views
What's an example of building a circuit $U_f$ that implements a simple function $f$?
I'd like to be able to program simple functions into simulators such as QCL. I read that any function $f$ can be implemented, but I don't know how to get say a unitary matrix that implements $f$.
$\n …
9
votes
1
answer
512
views
What do double wires mean in quantum circuits, and how do they relate to if statements?
The circuit
can be translated to the following code:
operation Teleport(msg, there) {
let register = AllocateRegister();
let here = register;
H(here);
CNOT(here, there);
CNOT( …
3
votes
2
answers
92
views
How can I invert the least significant bit of a certain term of a superposed state?
Say I have
$$\dfrac{1}{\sqrt{2}}\bigl(|1\rangle|221\rangle|0\rangle + |3\rangle|73\rangle|2\rangle\bigr).$$
How can I change that into
$$\dfrac{1}{\sqrt{2}}\bigl(|1\rangle|221\rangle|1\rangle + | …