Skip to content

Commit 22a06cd

Browse files
joeycarterjosh146ikurecic
authored
Add demo "How to Quantum Just-In-Time Compile Grover's Algorithm with Catalyst" (#1219)
**Title:** How to Quantum Just-In-Time Compile Grover's Algorithm with Catalyst **Summary:** This demo uses the existing [Grover's Algorithm](https://pennylane.ai/qml/demos/tutorial_grovers_algorithm/) tutorial to describe how to just-in-time (JIT) compile a quantum circuit using Catalyst. It also includes runtime benchmarks to demonstrate the performance improvements that JIT compiling with Catalyst offers. **Relevant references:** [L. K. Grover (1996) "A fast quantum mechanical algorithm for database search"](https://dl.acm.org/doi/10.1145/237814.237866) **Possible Drawbacks:** None **Related GitHub Issues:** None [[sc-72939](https://app.shortcut.com/xanaduai/story/72939/convert-another-selected-demo)] ---- If you are writing a demonstration, please answer these questions to facilitate the marketing process. * GOALS — Why are we working on this now? * Promote Catalyst by demonstrating the performance improvements it offers by QJIT compiling a relatively simple quantum circuit. * AUDIENCE — Who is this for? * Users of PennyLane looking to compile and optimize their circuits for better performance. * KEYWORDS — What words should be included in the marketing post? * Grover's algorithm * Catalyst * QJIT * Which of the following types of documentation is most similar to your file? (more details [here](https://www.notion.so/xanaduai/Different-kinds-of-documentation-69200645fe59442991c71f9e7d8a77f8)) - [ ] Tutorial - [ ] Demo - [x] How-to --------- Co-authored-by: Josh Izaac <josh146@gmail.com> Co-authored-by: Ivana Kurečić <ivana@xanadu.ai>
1 parent 120e1f1 commit 22a06cd

5 files changed

+463
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"title": "How to quantum just-in-time (QJIT) compile Grover's algorithm with Catalyst",
3+
"authors": [
4+
{
5+
"username": "joeycarter"
6+
}
7+
],
8+
"dateOfPublication": "2024-11-07T00:00:00+00:00",
9+
"dateOfLastModification": "2024-11-07T00:00:00+00:00",
10+
"categories": [
11+
"Algorithms",
12+
"Devices and Performance",
13+
"How-to",
14+
"Quantum Computing"
15+
],
16+
"tags": [],
17+
"previewImages": [
18+
{
19+
"type": "thumbnail",
20+
"uri": "/_static/demo_thumbnails/regular_demo_thumbnails/thumbnail_qjit_compile_grovers_algorithm_with_catalyst.png"
21+
},
22+
{
23+
"type": "large_thumbnail",
24+
"uri": "/_static/demo_thumbnails/large_demo_thumbnails/thumbnail_large_qjit_compile_grovers_algorithm_with_catalyst.png"
25+
}
26+
],
27+
"seoDescription": "See how to use Catalyst to just-in-time (QJIT) compile a PennyLane circuit implementing Grover's algorithm.",
28+
"doi": "",
29+
"references": [
30+
{
31+
"id": "Grover1996",
32+
"type": "article",
33+
"title": "A fast quantum mechanical algorithm for database search",
34+
"authors": "L. K. Grover",
35+
"year": "1996",
36+
"journal": "Proceedings of the twenty-eighth annual ACM symposium on Theory of Computing",
37+
"doi": "10.1145/237814.237866"
38+
},
39+
{
40+
"id": "NandC2000",
41+
"type": "book",
42+
"title": "Quantum Computation and Quantum Information",
43+
"authors": "M. A. Nielsen, and I. L. Chuang",
44+
"year": "2000",
45+
"publisher": "Cambridge University Press",
46+
"journal": "",
47+
"url": ""
48+
}
49+
],
50+
"basedOnPapers": [],
51+
"referencedByPapers": [],
52+
"relatedContent": [
53+
{
54+
"type": "demonstration",
55+
"id": "tutorial_grovers_algorithm",
56+
"weight": 1.0
57+
},
58+
{
59+
"type": "demonstration",
60+
"id": "tutorial_how_to_quantum_just_in_time_compile_vqe_catalyst",
61+
"weight": 1.0
62+
}
63+
]
64+
}

0 commit comments

Comments
 (0)