From f5a2316c32759cc6ad85111d08a1981ccdfbc7d4 Mon Sep 17 00:00:00 2001 From: shwetha729 Date: Fri, 1 Sep 2023 11:04:39 -0400 Subject: [PATCH] Updated: Friday, September 01,2023-09-01 11:04:33 --- .../plugins/recent-files-obsidian/data.json | 8 +- enter/.obsidian/workspace.json | 8 +- .../Terminal Tips/GUIs/Tools/Maps.md | 20 ++-- .../Languages/LISP/QuiL.md | 100 ++++++++++++++++++ 4 files changed, 119 insertions(+), 17 deletions(-) diff --git a/enter/.obsidian/plugins/recent-files-obsidian/data.json b/enter/.obsidian/plugins/recent-files-obsidian/data.json index 0186b13..bc26e0c 100644 --- a/enter/.obsidian/plugins/recent-files-obsidian/data.json +++ b/enter/.obsidian/plugins/recent-files-obsidian/data.json @@ -1,5 +1,9 @@ { "recentFiles": [ + { + "basename": "QuiL", + "path": "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/QuiL.md" + }, { "basename": "Maps", "path": "Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Maps.md" @@ -68,10 +72,6 @@ "basename": "Lisp in Quantum", "path": "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/Lisp in Quantum.md" }, - { - "basename": "QuiL", - "path": "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/QuiL.md" - }, { "basename": "Creating a Tree generator in python", "path": "Coding Tips (Classical)/Terminal Tips/Languages/Python/Projects/Creating a Tree generator in python.md" diff --git a/enter/.obsidian/workspace.json b/enter/.obsidian/workspace.json index 83c61aa..9bc6d44 100644 --- a/enter/.obsidian/workspace.json +++ b/enter/.obsidian/workspace.json @@ -104,7 +104,7 @@ "state": { "type": "markdown", "state": { - "file": "Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Maps.md", + "file": "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/QuiL.md", "mode": "source", "backlinks": false, "source": false @@ -200,7 +200,7 @@ "state": { "type": "outline", "state": { - "file": "Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Maps.md" + "file": "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/QuiL.md" } } }, @@ -210,7 +210,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Maps.md", + "file": "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/QuiL.md", "linksCollapsed": false, "unlinkedCollapsed": false } @@ -237,6 +237,7 @@ }, "active": "38498042d35d7ba9", "lastOpenFiles": [ + "Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Maps.md", "Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Progressive Web Apps.md", "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/Python Libraries/Tket.md", "Machine Tips (Quantum)/Resources/Technologies, Orgs, & Apps/Applications/More specifically/Simulations.md", @@ -262,7 +263,6 @@ "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/Javascript/QScript.md", "Machine Tips (Quantum)/Project Vault/rubiks cube/Research Rubiks Cube.md", "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/Python Libraries/PyQuil.md", - "Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/Python Libraries/More Python Libraries.md", "Coding Tips (Classical)/Project Vault/Comms/RADIO/Software", "Coding Tips (Classical)/Project Vault/Obsidian/imgFiles/Pasted image 20230901074121.png", "Coding Tips (Classical)/Terminal Tips/GUIs/Games", diff --git a/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Maps.md b/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Maps.md index c291f1c..7e88d2a 100644 --- a/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Maps.md +++ b/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Tools/Maps.md @@ -1,17 +1,19 @@ +Maps are an important tool of the internet. + Not only is Google Maps useful but you can now create your own custom maps through google maps and google earth. This has a lot of potential! --- -- Here is a he lpful how-to geek [article](https://www.howtogeek.com/664890/how-to-create-a-custom-map-in-google-maps/) to get started. -- Google Earth [Outreach](https://www.google.com/earth/outreach/learn/) - - a fantastic resource to learn about the possible features. + - GOOGLE [EARTH](https://earth.google.com/web) + - Not only is Google Maps useful but you can now create your own custom maps through google maps and google earth. This has a lot of potential! + - Here is a helpful how-to geek [article](https://www.howtogeek.com/664890/how-to-create-a-custom-map-in-google-maps/) to get started. + - Google Earth [Outreach](https://www.google.com/earth/outreach/learn/) + - a fantastic resource to learn about the possible features. - GOOGLE [NEW](https://www.google.com/maps/d/u/0/?hl=en) MAPS - - ---- - **In other news:** Here is a [workflow](https://app.tango.us/app/workflow/Workflow-with-Google-Earth-5083e71b960d45f8870945e98992676a) I created with Tango on beginning google earth maps projects. Keep it going when you have time.. -- [QGIS](https://github.com/qgis/QGIS) - Not just maps but also full blown GIS (Geographical Information System) as well! - - \ No newline at end of file + +- [QGIS](https://github.com/qgis/QGIS) - Not just maps but also full blown GIS (**Geographical Information System**) as well! + - ![image](https://camo.githubusercontent.com/22047455ed09e7143a9b1bfd6ff3d0bf4c694e02cf92a684a059bf002aaf28fd/68747470733a2f2f646f63732e716769732e6f72672f6c61746573742f656e2f5f696d616765732f7365727665725f776673335f666561747572652e706e67) + diff --git a/enter/Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/QuiL.md b/enter/Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/QuiL.md index f6230dc..1129229 100644 --- a/enter/Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/QuiL.md +++ b/enter/Machine Tips (Quantum)/Resources/Code & Circuit Operations/Languages/LISP/QuiL.md @@ -4,4 +4,104 @@ QuiL is the classic example of a language written specifically for a quantum ma The full document on the Quil language is [found here. ](https://quil-lang.github.io/#1Preamble) +# Quil Specification + +**Authors:** Robert S. Smith; Rigetti & Co. Inc.; and contributors + +**Language Version:** 2021.1 (DRAFT) + +## Table of Contents + +- [1. Preamble](https://quil-lang.github.io/#1Preamble) +- [1.1. An Introduction to Quil](https://quil-lang.github.io/#1-1An-Introduction-to-Quil) +- [1.2. Annexes](https://quil-lang.github.io/#1-2Annexes) +- [2. Operational Semantic Devices](https://quil-lang.github.io/#2Operational-Semantic-Devices) +- [2.1. Mathematical Preliminaries](https://quil-lang.github.io/#2-1Mathematical-Preliminaries) +- [2.2. The Quantum Abstract Machine](https://quil-lang.github.io/#2-2The-Quantum-Abstract-Machine) +- [3. Structure of a Quil Program](https://quil-lang.github.io/#3Structure-of-a-Quil-Program) +- [3.1. Meta-Syntax](https://quil-lang.github.io/#3-1Meta-Syntax) +- [3.2. Syntactic Rudiments](https://quil-lang.github.io/#3-2Syntactic-Rudiments) +- [3.2.1. Arithmetic Expressions](https://quil-lang.github.io/#3-2-1Arithmetic-Expressions) +- [3.3. Main Program Elements](https://quil-lang.github.io/#3-3Main-Program-Elements) +- [3.4. Comments](https://quil-lang.github.io/#3-4Comments) +- [4. Quantum Gates](https://quil-lang.github.io/#4Quantum-Gates) +- [4.1. Qubits and Quantum State](https://quil-lang.github.io/#4-1Qubits-and-Quantum-State) +- [4.2. Quantum Gate Definitions](https://quil-lang.github.io/#4-2Quantum-Gate-Definitions) +- [4.2.1. Structure of a Gate Definition](https://quil-lang.github.io/#4-2-1Structure-of-a-Gate-Definition) +- [4.2.2. Definition by Matrix](https://quil-lang.github.io/#4-2-2Definition-by-Matrix) +- [4.2.3. Definition by Permutation](https://quil-lang.github.io/#4-2-3Definition-by-Permutation) +- [4.2.4. Definition by Pauli Sum](https://quil-lang.github.io/#4-2-4Definition-by-Pauli-Sum) +- [4.2.4.1. Semantics](https://quil-lang.github.io/#4-2-4-1Semantics) +- [4.2.4.2. Example Syntax](https://quil-lang.github.io/#4-2-4-2Example-Syntax) +- [4.2.4.3. Example Semantic Reduction of CPHASE](https://quil-lang.github.io/#4-2-4-3Example-Semantic-Reduction-of-CPHASE) +- [4.3. Standard Gate Definitions](https://quil-lang.github.io/#4-3Standard-Gate-Definitions) +- [4.3.1. Pauli Gates](https://quil-lang.github.io/#4-3-1Pauli-Gates) +- [4.3.2. Hadamard Gate](https://quil-lang.github.io/#4-3-2Hadamard-Gate) +- [4.3.3. Phase Gates](https://quil-lang.github.io/#4-3-3Phase-Gates) +- [4.3.4. Controlled-Phase Gates](https://quil-lang.github.io/#4-3-4Controlled-Phase-Gates) +- [4.3.5. Cartesian Rotation Gates](https://quil-lang.github.io/#4-3-5Cartesian-Rotation-Gates) +- [4.3.6. Controlled-X Gates](https://quil-lang.github.io/#4-3-6Controlled-X-Gates) +- [4.3.7. Swap Gates](https://quil-lang.github.io/#4-3-7Swap-Gates) +- [4.3.8. Other Gates](https://quil-lang.github.io/#4-3-8Other-Gates) +- [4.4. Quantum Gate Applications](https://quil-lang.github.io/#4-4Quantum-Gate-Applications) +- [4.4.1. Syntax and Semantics](https://quil-lang.github.io/#4-4-1Syntax-and-Semantics) +- [4.4.2. DAGGER Gate Modifier](https://quil-lang.github.io/#4-4-2DAGGER-Gate-Modifier) +- [4.4.3. CONTROLLED Gate Modifier](https://quil-lang.github.io/#4-4-3CONTROLLED-Gate-Modifier) +- [4.4.4. FORKED Gate Modifier](https://quil-lang.github.io/#4-4-4FORKED-Gate-Modifier) +- [4.4.5. Chaining Modifiers](https://quil-lang.github.io/#4-4-5Chaining-Modifiers) +- [5. Quantum State Reset](https://quil-lang.github.io/#5Quantum-State-Reset) +- [6. Classical Memory](https://quil-lang.github.io/#6Classical-Memory) +- [6.1. Design Considerations](https://quil-lang.github.io/#6-1Design-Considerations) +- [6.2. Types](https://quil-lang.github.io/#6-2Types) +- [6.3. Declaring Memory](https://quil-lang.github.io/#6-3Declaring-Memory) +- [6.3.1. Declaring Memory](https://quil-lang.github.io/#6-3-1Declaring-Memory) +- [6.3.2. Declaring Aliased Memory](https://quil-lang.github.io/#6-3-2Declaring-Aliased-Memory) +- [6.3.3. Declaring Aliased Memory Declaration with an Offset](https://quil-lang.github.io/#6-3-3Declaring-Aliased-Memory-Declaration-with-an-Offset) +- [6.3.4. Portability of Aliased Declarations](https://quil-lang.github.io/#6-3-4Portability-of-Aliased-Declarations) +- [6.3.5. Duplicate Declaration Identifiers](https://quil-lang.github.io/#6-3-5Duplicate-Declaration-Identifiers) +- [6.3.6. Examples](https://quil-lang.github.io/#6-3-6Examples) +- [6.3.6.1. Register Machine with a Condition Bit](https://quil-lang.github.io/#6-3-6-1Register-Machine-with-a-Condition-Bit) +- [6.3.6.2. Memory-Mapped RAM](https://quil-lang.github.io/#6-3-6-2Memory-Mapped-RAM) +- [6.3.6.3. Computing Bits of an Angle](https://quil-lang.github.io/#6-3-6-3Computing-Bits-of-an-Angle) +- [6.4. Memory Access and Dereferencing](https://quil-lang.github.io/#6-4Memory-Access-and-Dereferencing) +- [6.5. Classical Instructions](https://quil-lang.github.io/#6-5Classical-Instructions) +- [7. Measurement](https://quil-lang.github.io/#7Measurement) +- [8. Classical Control](https://quil-lang.github.io/#8Classical-Control) +- [8.1. Halting the Program](https://quil-lang.github.io/#8-1Halting-the-Program) +- [8.2. Program Labels and Branching](https://quil-lang.github.io/#8-2Program-Labels-and-Branching) +- [9. Other Instructions and Directives](https://quil-lang.github.io/#9Other-Instructions-and-Directives) +- [9.1. No-Operation Instruction](https://quil-lang.github.io/#9-1No-Operation-Instruction) +- [9.2. Pragmas](https://quil-lang.github.io/#9-2Pragmas) +- [9.3. File Inclusion](https://quil-lang.github.io/#9-3File-Inclusion) +- [10. Circuits](https://quil-lang.github.io/#10Circuits) +- [10.1. Circuit Syntax](https://quil-lang.github.io/#10-1Circuit-Syntax) +- [10.2. Circuit Expansion](https://quil-lang.github.io/#10-2Circuit-Expansion) +- [11. History and Changes](https://quil-lang.github.io/#11History-and-Changes) +- [11.1. A History of Quil](https://quil-lang.github.io/#11-1A-History-of-Quil) +- [11.2. Changes](https://quil-lang.github.io/#11-2Changes) +- [12. Annex T: Pulse-Level Control](https://quil-lang.github.io/#12Annex-T--Pulse-Level-Control) +- [12.1. Frames](https://quil-lang.github.io/#12-1Frames) +- [12.1.1. DEFFRAME](https://quil-lang.github.io/#12-1-1DEFFRAME) +- [12.1.1.1. Frame Attributes](https://quil-lang.github.io/#12-1-1-1Frame-Attributes) +- [12.2. Waveforms](https://quil-lang.github.io/#12-2Waveforms) +- [12.2.1. Defining new waveforms](https://quil-lang.github.io/#12-2-1Defining-new-waveforms) +- [12.3. Pulses](https://quil-lang.github.io/#12-3Pulses) +- [12.4. Frame Mutations](https://quil-lang.github.io/#12-4Frame-Mutations) +- [12.4.1. Frequency](https://quil-lang.github.io/#12-4-1Frequency) +- [12.4.2. Phase](https://quil-lang.github.io/#12-4-2Phase) +- [12.4.3. Scale](https://quil-lang.github.io/#12-4-3Scale) +- [12.5. Capture](https://quil-lang.github.io/#12-5Capture) +- [12.6. Defining Calibrations](https://quil-lang.github.io/#12-6Defining-Calibrations) +- [12.7. Timing and Synchronization](https://quil-lang.github.io/#12-7Timing-and-Synchronization) + +**Note:** This document is in _DRAFT STATUS_ and is for review purposes only. It is being developed by the [Quil-Lang group](https://github.com/quil-lang/) on GitHub. + +## 1. Preamble + +### 1.1. An Introduction to Quil + +This is the language specification for Quil, a language for hybrid classical/quantum computations. + +Quil is an instruction-based language; each line of a Quil program generally corresponds to a single, discrete action. Despite its resemblance, Quil is _not_ an assembly language. + - [QVM](https://github.com/quil-lang/qvm) is what runs on the backend and is the high-performance Quil simulator \ No newline at end of file