How to implement a Fredkin gate in a classical network?

Click For Summary

Discussion Overview

The discussion revolves around the implementation of a Fredkin gate, also known as a controlled swap gate, within a classical feedback network using specific software. Participants explore the challenges of modeling the gate with limited logic operations available in the software.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant seeks guidance on implementing the Fredkin gate using a feedback network compatible with specific software.
  • Another participant suggests modeling the truth table of the Fredkin gate with standard logic gates, referencing Wikipedia for a potential model.
  • A participant clarifies the logic operations needed to express the Fredkin gate's rules, providing specific equations for outputs based on inputs.
  • Further discussion highlights the limitations of the software, which only allows certain types of logic gates, raising doubts about the feasibility of implementing the Fredkin gate.
  • One participant proposes that additional nodes may be necessary to calculate intermediate results, noting the absence of a unary NOT node in the software.
  • Another participant expresses uncertainty about the validity of a proposed implementation for one of the nodes, indicating a lack of familiarity with the software's context.

Areas of Agreement / Disagreement

Participants generally agree on the limitations of the software and the need for additional nodes to implement the Fredkin gate, but there is uncertainty regarding the specific implementation details and the validity of proposed solutions.

Contextual Notes

The discussion reflects limitations in the software's capabilities, particularly regarding the types of logic gates available for use, which may affect the implementation of the Fredkin gate.

Agrippa
Messages
77
Reaction score
10
TL;DR
Hi, I'm wondering about the Fredkin gate (controlled swap gate) and how to implement it with simple logic gates.
Hi, I'm wondering about the Fredkin gate (controlled swap) gate, which is defined by the truth table on p54 here. I'm trying to implement it in a simple feedback network that takes the form of what can be input into this software: integratedinformationtheory.org/calculate. Any pointers would be appreciated!
 
Technology news on Phys.org
If 'software' models standard logic gates (the link is broken), don't you simply need to model the truth table of the Fredkin gate with standard gates? Wikipedia gives this model, I haven't checked that it is correct.
 
Did you miss this (I have translated the symbols into those used on p.55 of the paper you linked because on p.54 the same symbols are used for inputs and outputs!):

y1 = ((NOT u) AND x1) OR (u AND x2)
y2 = ((NOT u) AND x2) OR (u AND x1)
v = u
 
Thanks, this is helpful!

My question is really about the implementations of these rules in the kind of system defined by the software I linked to. We can express the rules as a truth table (as in my first link), or we can express the rules by logic operations on inputs (as you have), but how do we implement these rules in the relevant type of system?

If you take a look under "network" at the second link (that hopefully now works), an option might be to just create three binary nodes A, B, and C. The question, then, would be: how do we define each node?

I guess your suggestion is (for e.g.): define node A as ((~C)&A) OR (C&B).

Unfortunately, the software only allows each node to be defined by one of the following:

AND,
NAND,
OR,
NOR,
XOR,
Random,
Majority,
Minority,
Parity,
Greater than threshold,
Less than threshold

So this may be the answer to my question: It can't be done! The software is too limited to allow the Fredkin gate to be implemented.

But I'm not sure - maybe we just need more than three nodes to implement the Fredkin gate in this software?
 
Agrippa said:
But I'm not sure - maybe we just need more than three nodes to implement the Fredkin gate in this software?
Yes I think you will need to add some nodes to calculate intermediate results. It doesn't look as though there is a unary NOT node so you will need to implement NOT C as C NAND C.
 
  • Like
Likes   Reactions: Agrippa
pbuk said:
Yes I think you will need to add some nodes to calculate intermediate results. It doesn't look as though there is a unary NOT node so you will need to implement NOT C as C NAND C.

Does the attached look correct as an implementation of node A?
To create a node for C NAND C, I had to split C into C1 and C2, and I also used three intermediary nodes (I1, I2 and I3).
 

Attachments

Agrippa said:
Does the attached look correct as an implementation of node A?
I've no idea I'm afraid - this 'Integrated Information Theory' looks like a load of nonsense is somewhat outside my comfort zone :biggrin:
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
8K
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
9
Views
3K
Replies
0
Views
835