View Source for datafile
<datafile label="CNOT_truth_table_CNOTgate" filename="CNOTgate.png"> <image source="CNOTgate.png" width="66%" /> </datafile>
Data: CNOTgate.png
- Yes! It always trades the two input values but it does not trade their locations!
View Source for datafile
<datafile label="CNOT_truth_table_SWAPgateWrong1" filename="SWAPgateWrong1.png"> <image source="SWAPgateWrong1.png" width="66%" /> </datafile>
Data: SWAPgateWrong1.png
- Make sure you hooked up your circuit correctly!
View Source for datafile
<datafile label="CNOT_truth_table_SWAPgateWrong2" filename="SWAPgateWrong2.png"> <image source="SWAPgateWrong2.png" width="66%" /> </datafile>
Data: SWAPgateWrong2.png
- Yes! It traded the values but not locations of the two qubits!
View Source for datafile
<datafile label="CNOT_truth_table_SWAPgateWrong3" filename="SWAPgateWrong3.png"> <image source="SWAPgateWrong3.png" width="66%" /> </datafile>
Data: SWAPgateWrong3.png
- Make sure you hooked up your circuit correctly!
Which picture depicts the proper relationship between the four possible input and output combinations?
Hint.
Make the circuit and look at the bar graph below the circuit. Construct all for input combinations using not gates, recording the answers each time.