PageSourceSearch

https://pennylane.ai/component---src-pages-whatisqml-tsx-29607ddb6a45585acb6d.js

js pennylane.ai collected 2026-10-02 03:03:20 UTC 14,998 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0fb9ebbd-f501-5cad-b6c7-38cfa2be8d38")}catch(e){}}();
3(self.webpackChunkpennylane_website=self.webpackChunkpennylane_website||[]).push([[5308],{28546:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var a=t(2784),i=t(91267),s=t(51952),o=t(52322);var r=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Script,{id:"mathjax-config",children:"\nwindow.MathJax = {\n  loader: {\n    load: ['[tex]/ams', '[tex]/color', 'ui/lazy']\n  },\n  tex: {\n    inlineMath: [['$', '$'], ['\\\\(', '\\\\)']],\n    displayMath: [['$$', '$$'], ['\\\\[', '\\\\]']],\n    processEscapes: true,\n    processEnvironments: true,\n    packages: {'[+]': ['ams', 'color']},\n    tags: 'ams'\n  }\n};"}),(0,o.jsx)(s.Script,{src:"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"})]});var l=e=>{let{mainSection:n,sidebarSection:t,className:s=""}=e;const{0:l,1:c}=(0,a.useState)(!1),{0:p,1:u}=(0,a.useState)(!1);return(0,a.useLayoutEffect)((()=>{window.location.href.includes("/demos/")&&u(!0)}),[]),(0,i.jk)(c),(0,o.jsxs)("section",{className:"DemosLayout__wrapper "+(l?"DemosLayout__wrapper--bannerVisible":"")+" "+s+" "+(p?"mainDemoSection":""),children:[t&&(0,o.jsx)("div",{className:"sidebarSection "+(l?"sidebarSection--bannerVisible":""),"data-testid":"sidebar-section",children:t}),(0,o.jsx)("div",{className:"mainSection "+(t?"mainSection--left-padding":""),"data-testid":"main-section",children:n}),(0,o.jsx)(r,{})]})}},48597:function(e,n,t){"use strict";var a=t(28546),i=t(56694),s=t(52322);n.Z=e=>{let{title:n,tableOfContents:t,html:o,className:r=""}=e;const l=(0,s.jsx)("section",{className:r,children:(0,s.jsxs)("div",{className:"Section__container",children:[(0,s.jsx)("h1",{children:n}),(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:o}})]})});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{pageTitle:n}),(0,s.jsx)(a.Z,{mainSection:l,sidebarSection:(()=>{if(t)return(0,s.jsxs)("div",{className:"contentSidebar","data-testid":"content-sidebar",children:[(0,s.jsx)("h3",{children:"Contents"}),(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})]})})()})]})}},45051:function(e,n,t){"use strict";var a=t(92869),i=t(2666),s=t(52322);n.Z=e=>{let{title:n,description:t="",image:o,children:r}=e;const{title:l,description:c,siteUrl:p}=(0,a.$)(),u={title:n||l,description:t||c,image:null!=o&&o.includes("https://")?o:o?""+p+o:"https://assets.cloud.pennylane.ai/pennylane_website/generic/generic_og.png",url:""+p+(0,i.R)()};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:u.title}),(0,s.jsx)("meta",{name:"description",content:u.description}),(0,s.jsx)("meta",{name:"image",content:u.image}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:title",content:u.title}),(0,s.jsx)("meta",{name:"twitter:url",content:u.url}),(0,s.jsx)("meta",{name:"twitter:description",content:u.description}),(0,s.jsx)("meta",{name:"twitter:image",content:u.image}),(0,s.jsx)("meta",{property:"og:url",content:u.url}),(0,s.jsx)("meta",{property:"og:type",content:"website"}),(0,s.jsx)("meta",{property:"og:title",content:u.title}),(0,s.jsx)("meta",{property:"og:description",content:u.description}),(0,s.jsx)("meta",{property:"og:image",content:u.image}),r]})}},57235:function(e,n){"use strict";n.default={meta_title:"Quantum Programming Software — PennyLane",meta_description:"Built by researchers for research, PennyLane is the definitive open-source Python framework for quantum machine learning, quantum chemistry, and quantum computing.",hero_section:{title:"Discover new ideas faster.",description:"The definitive open-source Python framework for quantum programming. Built by researchers, for research.",subt
3itles:[],left_button:{text:"Install PennyLane",link:"/install",icon:""},right_button:{text:"Explore demos",link:"/demonstrations",icon:""}},partners_section:{title:"Our partners",logos:[{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/xanadu.png",alt:"Xanadu"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/AWS.png",alt:"AWS"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/AMD.png",alt:"AMD"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/AQT.png",alt:"AQT"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/Covestro.png",alt:"Covestro"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/CDL.png",alt:"Creative Destruction Lab"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/Google.png",alt:"Google"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/ibmquantum.png",alt:"IBM Quantum"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/NVIDIA.png",alt:"NVIDIA"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/Rigetti.png",alt:"Rigetti"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/unitaryfund.png",alt:"Unitary Fund"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/ionq.png",alt:"IonQ"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/microsoft.png",alt:"Microsoft"},{src:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/hero_section/partners/Multiverse.png",alt:"Multiverse"}]},call_to_action_section:[{id:"minimize-time-to-research",title:"Minimize time-to-research.",description:"PennyLane is unopinionated where it matters. With a functional interface, seamless integration with the scientific ecosystem, and modular building blocks, we get out of the way to help you easily build cutting-edge quantum algorithms.",image:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/call_to_action_section/minimize-time.svg",image_right_aligned:!1,alt:"Condensed quantum information",links:[{link_text:"Using PennyLane",link:"https://docs.pennylane.ai/en/stable/introduction/pennylane.html"}]},{id:"accelerated-performance",title:"Accelerated performance.",description:"Scale up your research. Use the high-performance Lightning simulator — backed by NVIDIA cuQuantum — on GPUs and the cloud. But it goes beyond; PennyLane will automatically use the best computational methods for your workflow.",image:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/second_call_to_action/performance.svg",image_right_aligned:!0,alt:"A speedy quantum rollercoaster",links:[{link_text:"Learn how",link:"/performance"}]},{id:"get-up-to-speed-quickly",title:"Get up to speed quickly.",description:"Quantum computing can be complex — PennyLane simplifies it. Explore our extensive library of demonstrations and in-depth documentation to advance your expertise in quantum computing, quantum machine learning, and quantum chemistry. Discover how PennyLane can enhance your research and integrate seamlessly into your projects.",image:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/call_to_action_section/get-started-faster.svg",image_right_aligned:!1,alt:"Quantum map",links:[{link_text:"Learn about quantum",link:"/learn"},{link_text:"Teach quantum",link:"/education"}]}],pennylane_used_section:{title:"See how PennyLane is used",partners:[{logo:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/pennylane_used_section/covestro.png",logoAltText:"Covestro",description:"See how Covestro uses PennyLane in their quantum chemistry research to simulate VQE gate fabrics.",link:"https://iopscience.iop.org/article/10.1088/1367-2630/ac2cb3"},{logo:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/pennylane_used_section/AWS.png",logoAltText:"Amazon",de
3scription:"Run PennyLane algorithms on quantum hardware with Amazon Braket.",link:"https://github.com/aws/amazon-braket-examples/tree/main/examples/pennylane"},{logo:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/pennylane_used_section/agnostiq.png",logoAltText:"Agnostiq",description:"Learn how Covalent — built with PennyLane for distributed quantum and HPC — supports QML research.",link:"/demos/tutorial_univariate_qvr"},{logo:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/pennylane_used_section/unitaryfund.png",logoAltText:"Unitary Fund",description:"See how Mitiq — a toolkit for minimizing noise by the Unitary Fund — integrates with PennyLane",link:"/blog/2021/11/error-mitigation-with-mitiq-and-pennylane/"},{logo:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/pennylane_used_section/nvidia.png",logoAltText:"NVIDIA",description:"Learn how NVIDIA works with PennyLane to enable GPU simulations at scale.",link:"/blog/2022/07/lightning-fast-simulations-with-pennylane-and-the-nvidia-cuquantum-sdk/"}]},second_call_to_action:[{id:"community-first-software-development",title:"Community-first software development.",description:"PennyLane is community-driven, built to support your research. With open development on GitHub and direct access to our team, your feedback shapes the roadmap. Join us and help shape the future of quantum research with PennyLane.",image:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/call_to_action_section/community-first.svg",image_right_aligned:!0,alt:"People looking at the stream on a laptop",links:[{link_text:"Get involved",link:"/get-involved"}]},{id:"everything-differentiable",title:"Everything differentiable.",description:"PennyLane pioneers a new paradigm — quantum differentiable programming. Everything is trainable, even when using quantum hardware. Don’t just train parameters; train the entire structure of your quantum model.",image:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/second_call_to_action/differentiable.svg",image_right_aligned:!1,alt:"Quantum differentiable programming equations",links:[{link_text:"Quantum differentiable programming",link:"/topics/quantum-gradients"}]}],getting_started_section:{tutorialsTitle:"Don't know where to start?",tutorialsSubtitle:"Here are a few beginner-friendly resources to help you get started",tutorials:[{image:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/getting_started_section/learn.png",title:"Learn",description:"Learn and master the concepts behind quantum computing.",url:"/learn"},{image:"https://assets.cloud.pennylane.ai/pennylane_website/icons/codebook_icon.png",title:"Codebook",description:"Use PennyLane to explore various quantum computing topics in the PennyLane Codebook.",url:"/codebook"},{image:"https://assets.cloud.pennylane.ai/pennylane_website/pages/landing_page/getting_started_section/documentation.png",title:"Documentation",description:"Get started with PennyLane using our quickstart guides, learn how to develop a plugin, and browse the full API.",url:"https://docs.pennylane.ai/en/stable/"}],videosTitle:"Videos to help you get started",videosLinkText:"See all videos",videosLinkURL:"/videos"},building_with_pennylane:{title:"Start building with PennyLane",buttons:[{text:"Install PennyLane",link:"/install"},{text:"Explore demos",link:"/demonstrations"}]}}},92869:function(e,n,t){"use strict";t.d(n,{$:function(){return i}});var a=t(51952);const i=()=>{var e,n,t,i,s,o;const r=(0,a.useStaticQuery)("495131818");return{title:(null===(e=r.site)||void 0===e||null===(n=e.siteMetadata)||void 0===n?void 0:n.title)||"",description:(null===(t=r.site)||void 0===t||null===(i=t.siteMetadata)||void 0===i?void 0:i.description)||"",siteUrl:(null===(s=r.site)||void 0===s||null===(o=s.siteMetadata)||void 0===o?void 0:o.siteUrl)||""}}},63178:function(e,n,t){"use strict";t.r(n),t.d(n,{Head:function(){return r}});var a=t(45051),i=t(48597),s=t(57235),o=t(52322);const r=e=>{var n,t,i,r,l,c;let{data:p}=e;return(0,o.jsx)(a.Z,{title:(null===(n=p.markdownRemark)||void 0===n||null===(t=n.frontmatter)||void 0===t?void 0:t.meta_title)||s.default.meta_title,de
3scription:(null===(i=p.markdownRemark)||void 0===i||null===(r=i.frontmatter)||void 0===r?void 0:r.meta_description)||s.default.meta_description,image:(null===(l=p.markdownRemark)||void 0===l||null===(c=l.frontmatter)||void 0===c?void 0:c.meta_image)||""})};n.default=e=>{var n,t,a,s;let{data:r}=e;return(0,o.jsx)(i.Z,{title:(null===(n=r.markdownRemark)||void 0===n||null===(t=n.frontmatter)||void 0===t?void 0:t.title)||"",tableOfContents:(null===(a=r.markdownRemark)||void 0===a?void 0:a.tableOfContents)||"",html:(null===(s=r.markdownRemark)||void 0===s?void 0:s.html)||"",className:"WhatIsPage"})}},2666:function(e,n,t){"use strict";t.d(n,{R:function(){return a}});const a=()=>{if("undefined"!=typeof window)return window.location.pathname}},80594:function(e,n,t){var a=NaN,i="[object Symbol]",s=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,p="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=p||u||Function("return this")(),g=Object.prototype.toString,m=Math.max,h=Math.min,y=function(){return d.Date.now()};function _(e){var n=typeof e;return!!e&&("object"==n||"function"==n)}function f(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&g.call(e)==i}(e))return a;if(_(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=_(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var t=r.test(e);return t||l.test(e)?c(e.slice(2),t?2:8):o.test(e)?a:+e}e.exports=function(e,n,t){var a,i,s,o,r,l,c=0,p=!1,u=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(n){var t=a,s=i;return a=i=void 0,c=n,o=e.apply(s,t)}function b(e){var t=e-l;return void 0===l||t>=n||t<0||u&&e-c>=s}function v(){var e=y();if(b(e))return w(e);r=setTimeout(v,function(e){var t=n-(e-l);return u?h(t,s-(e-c)):t}(e))}function w(e){return r=void 0,d&&a?g(e):(a=i=void 0,o)}function x(){var e=y(),t=b(e);if(a=arguments,i=this,l=e,t){if(void 0===r)return function(e){return c=e,r=setTimeout(v,n),p?g(e):o}(l);if(u)return r=setTimeout(v,n),g(l)}return void 0===r&&(r=setTimeout(v,n)),o}return n=f(n)||0,_(t)&&(p=!!t.leading,s=(u="maxWait"in t)?m(f(t.maxWait)||0,n):s,d="trailing"in t?!!t.trailing:d),x.cancel=function(){void 0!==r&&clearTimeout(r),c=0,a=l=i=r=void 0},x.flush=function(){return void 0===r?o:w(y())},x}}}]);
4//# sourceMappingURL=component---src-pages-whatisqml-tsx-29607ddb6a45585acb6d.js.map
5//# debugId=0fb9ebbd-f501-5cad-b6c7-38cfa2be8d38

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.