Presentation is loading. Please wait.

Presentation is loading. Please wait.

Example of programming a quantum robot This program can be easily changed to the following types of control: 1.Boolean Logic 2.Fuzzy logic 3.Probabilistic.

Similar presentations


Presentation on theme: "Example of programming a quantum robot This program can be easily changed to the following types of control: 1.Boolean Logic 2.Fuzzy logic 3.Probabilistic."— Presentation transcript:

1 Example of programming a quantum robot This program can be easily changed to the following types of control: 1.Boolean Logic 2.Fuzzy logic 3.Probabilistic logic 4.Ternary logic 5.Mixed logic 6.Your own control for any algebra you may want

2

3 Review matrices and vectors Review how to multiply matrix by vector Review how to multiply matrix by matrix

4 For loop flowchart } } }

5 start i=0 Ostate[i]=0 j=0 j=j+1 j < 4 i < 4 i=i+1 External loop Internal loop For loop flowchart yes no

6 Review quantum measurement Review probability

7 start i=0 Ostate[i]=0 j=0 j=j+1 j < 4 i < 4 i=i+1 For loop flowchart yes no end

8 Initialize total Calculate new value of total Calculate value of output oneCounter counts ones

9 Calculate deterministic values of control variables P and Q Continue of subroutine of interpreting the output state Loop for oneCounter

10 Translates output Boolean variables P and Q to actions of motors Output Motion routine is for motors

11 Converts sensor reading to input variables a and b Two light sensors and touch sensor Input routine is for sensors

12 Main program links inputs, outputs and brain (behavior) input brain output Intialize all


Download ppt "Example of programming a quantum robot This program can be easily changed to the following types of control: 1.Boolean Logic 2.Fuzzy logic 3.Probabilistic."

Similar presentations


Ads by Google