Is swap gate equivalent to just exchanging the wire of the two qubits?What happens if two separately entangled qubits are passed through a C-NOT gate?How to implement the “Square root of Swap gate” on the IBM Q (composer)?How to implement a Square root of Swap gate that swaps 2n-qubits on the IBM Q (composer)?Expressing “Square root of Swap” gate in terms of CNOTSWAP gate(s) in the $R(lambda^-1)$ step of the HHL circuit for $4times 4$ systemsWhat happens when I input two qubits starting at state $|00rangle$ into a hadamard gate?Composing the CNOT gate as a tensor product of two level matricesImplement Fredkin gate with square root of swapWhat is the tensorial representation of the quantum swap gate?
Are there any animals in the Star Wars universe that are the same as those on Earth?
Middle-of-the-day intoxication?
"When you Frankenstein a team together..." - Is "Frankenstein" a new verb?
My co-worker withholds information about his systems and blames me for "bugs" which aren't my fault
What element, if any, would justify mining stars (financially)?
Software update on obsolete system: is it real?
Approx 1948 Brasil Brazil Airliner...what is it? Taildragger?
Making bread with few ingredients
Dividing the first 20 numbers into 3 lists
How can women avoid talking during dates while keeping men at ease?
Why couldn't the Romulans simply circumvent Starfleet's blockade?
What was the stated reason for giving Trump this award?
How to express "naked" in different situations?
Backwards Alphabet Triangle
Why do companies pay fixed dividends instead of fluid ones?
Busted my bike hub & derailleur (I think) - how bad is it?
Why is Macron seemingly opposing an article 50 extension?
Extract partitions of images after edge detection
Is it a Hamiltonian cycle on a grid?
During World War 1, were any policies in place to handle large scale troop mutiny?
Did the USA have a political agenda in Syria beyond simply the containment of ISIS?
How to print a list of possible matches from C-n?
How to make the number 49?
What is the most life you can have at the end of your first turn with only three cards?
Is swap gate equivalent to just exchanging the wire of the two qubits?
What happens if two separately entangled qubits are passed through a C-NOT gate?How to implement the “Square root of Swap gate” on the IBM Q (composer)?How to implement a Square root of Swap gate that swaps 2n-qubits on the IBM Q (composer)?Expressing “Square root of Swap” gate in terms of CNOTSWAP gate(s) in the $R(lambda^-1)$ step of the HHL circuit for $4times 4$ systemsWhat happens when I input two qubits starting at state $|00rangle$ into a hadamard gate?Composing the CNOT gate as a tensor product of two level matricesImplement Fredkin gate with square root of swapWhat is the tensorial representation of the quantum swap gate?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
$begingroup$
Is swap gate equivalent to just exchanging the wire of the two qubits?
if yes why not just switching the wire whenever we want to apply a swap gate?
quantum-gate
$endgroup$
add a comment
|
$begingroup$
Is swap gate equivalent to just exchanging the wire of the two qubits?
if yes why not just switching the wire whenever we want to apply a swap gate?
quantum-gate
$endgroup$
add a comment
|
$begingroup$
Is swap gate equivalent to just exchanging the wire of the two qubits?
if yes why not just switching the wire whenever we want to apply a swap gate?
quantum-gate
$endgroup$
Is swap gate equivalent to just exchanging the wire of the two qubits?
if yes why not just switching the wire whenever we want to apply a swap gate?
quantum-gate
quantum-gate
edited Jun 14 at 13:41
Sanchayan Dutta
8,4864 gold badges18 silver badges64 bronze badges
8,4864 gold badges18 silver badges64 bronze badges
asked Jun 14 at 10:45
Zzy1130Zzy1130
1057 bronze badges
1057 bronze badges
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
$begingroup$
Yes, it is equivalent. That's a perfectly valid way to represent it in a quantum circuit diagram.
In practice, it depends what physical implementation you're talking about. If you have 'flying' qubits, then it is possible to just reorder them, or even simply relabel them without actively doing anything. However, many physical implementations of quantum computation use static qubits. That means one particular physical qubit is in a particular place. If you want to make it interact (e.g. perform controlled-not) with another qubit, they usually have to be next to each other. That means performing swap operations along some path, exchanging the states of the qubits so that the state that was on one physical qubit is now on a different one, where you need it to be.
$endgroup$
add a comment
|
$begingroup$
why not just switching the wire whenever we want to apply a swap gate?
If this is the crux of the question I think the main rationale here is to treat the swap gate as an actual gate.
I only rarely see raw swap gates on their own in diagrams, typically I see them as part of a Fredkin Gate. Basically, by treating it as a gate rather than a crossing of wires, it makes it easier to understand how it can be "controlled" like any other gate.
But yes, an un-controlled swap gate could be implemented on classical bits in electrical wires by swapping the wires' positions.
$endgroup$
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "694"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fquantumcomputing.stackexchange.com%2fquestions%2f6458%2fis-swap-gate-equivalent-to-just-exchanging-the-wire-of-the-two-qubits%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Yes, it is equivalent. That's a perfectly valid way to represent it in a quantum circuit diagram.
In practice, it depends what physical implementation you're talking about. If you have 'flying' qubits, then it is possible to just reorder them, or even simply relabel them without actively doing anything. However, many physical implementations of quantum computation use static qubits. That means one particular physical qubit is in a particular place. If you want to make it interact (e.g. perform controlled-not) with another qubit, they usually have to be next to each other. That means performing swap operations along some path, exchanging the states of the qubits so that the state that was on one physical qubit is now on a different one, where you need it to be.
$endgroup$
add a comment
|
$begingroup$
Yes, it is equivalent. That's a perfectly valid way to represent it in a quantum circuit diagram.
In practice, it depends what physical implementation you're talking about. If you have 'flying' qubits, then it is possible to just reorder them, or even simply relabel them without actively doing anything. However, many physical implementations of quantum computation use static qubits. That means one particular physical qubit is in a particular place. If you want to make it interact (e.g. perform controlled-not) with another qubit, they usually have to be next to each other. That means performing swap operations along some path, exchanging the states of the qubits so that the state that was on one physical qubit is now on a different one, where you need it to be.
$endgroup$
add a comment
|
$begingroup$
Yes, it is equivalent. That's a perfectly valid way to represent it in a quantum circuit diagram.
In practice, it depends what physical implementation you're talking about. If you have 'flying' qubits, then it is possible to just reorder them, or even simply relabel them without actively doing anything. However, many physical implementations of quantum computation use static qubits. That means one particular physical qubit is in a particular place. If you want to make it interact (e.g. perform controlled-not) with another qubit, they usually have to be next to each other. That means performing swap operations along some path, exchanging the states of the qubits so that the state that was on one physical qubit is now on a different one, where you need it to be.
$endgroup$
Yes, it is equivalent. That's a perfectly valid way to represent it in a quantum circuit diagram.
In practice, it depends what physical implementation you're talking about. If you have 'flying' qubits, then it is possible to just reorder them, or even simply relabel them without actively doing anything. However, many physical implementations of quantum computation use static qubits. That means one particular physical qubit is in a particular place. If you want to make it interact (e.g. perform controlled-not) with another qubit, they usually have to be next to each other. That means performing swap operations along some path, exchanging the states of the qubits so that the state that was on one physical qubit is now on a different one, where you need it to be.
answered Jun 14 at 11:08
DaftWullieDaftWullie
21.5k1 gold badge9 silver badges54 bronze badges
21.5k1 gold badge9 silver badges54 bronze badges
add a comment
|
add a comment
|
$begingroup$
why not just switching the wire whenever we want to apply a swap gate?
If this is the crux of the question I think the main rationale here is to treat the swap gate as an actual gate.
I only rarely see raw swap gates on their own in diagrams, typically I see them as part of a Fredkin Gate. Basically, by treating it as a gate rather than a crossing of wires, it makes it easier to understand how it can be "controlled" like any other gate.
But yes, an un-controlled swap gate could be implemented on classical bits in electrical wires by swapping the wires' positions.
$endgroup$
add a comment
|
$begingroup$
why not just switching the wire whenever we want to apply a swap gate?
If this is the crux of the question I think the main rationale here is to treat the swap gate as an actual gate.
I only rarely see raw swap gates on their own in diagrams, typically I see them as part of a Fredkin Gate. Basically, by treating it as a gate rather than a crossing of wires, it makes it easier to understand how it can be "controlled" like any other gate.
But yes, an un-controlled swap gate could be implemented on classical bits in electrical wires by swapping the wires' positions.
$endgroup$
add a comment
|
$begingroup$
why not just switching the wire whenever we want to apply a swap gate?
If this is the crux of the question I think the main rationale here is to treat the swap gate as an actual gate.
I only rarely see raw swap gates on their own in diagrams, typically I see them as part of a Fredkin Gate. Basically, by treating it as a gate rather than a crossing of wires, it makes it easier to understand how it can be "controlled" like any other gate.
But yes, an un-controlled swap gate could be implemented on classical bits in electrical wires by swapping the wires' positions.
$endgroup$
why not just switching the wire whenever we want to apply a swap gate?
If this is the crux of the question I think the main rationale here is to treat the swap gate as an actual gate.
I only rarely see raw swap gates on their own in diagrams, typically I see them as part of a Fredkin Gate. Basically, by treating it as a gate rather than a crossing of wires, it makes it easier to understand how it can be "controlled" like any other gate.
But yes, an un-controlled swap gate could be implemented on classical bits in electrical wires by swapping the wires' positions.
answered Jun 14 at 19:39
LambdaBetaLambdaBeta
1736 bronze badges
1736 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Quantum Computing Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fquantumcomputing.stackexchange.com%2fquestions%2f6458%2fis-swap-gate-equivalent-to-just-exchanging-the-wire-of-the-two-qubits%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown