1 / 12

Example of programming a quantum robot

Example of programming a quantum robot. This program can be easily changed to the following types of control: Boolean Logic Fuzzy logic Probabilistic logic Ternary logic Mixed logic Your own control for any algebra you may want. Review matrices and vectors

janetj
Télécharger la présentation

Example of programming a quantum robot

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Review matrices and vectors • Review how to multiply matrix by vector • Review how to multiply matrix by matrix

  3. For loop flowchart } } }

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

  5. Review quantum measurement • Review probability

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

  7. Initialize total oneCounter counts ones Calculate new value of total Calculate value of output

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

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

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

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

More Related