PageSourceSearch

https://pennylane.ai/component---src-pages-quantum-machine-learning-tsx-1031ac3b72764958291d.js

js pennylane.ai collected 2026-10-02 03:04:20 UTC 6,869 bytes, 5 lines download raw bytes

1"use strict";
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]="485dab1d-66e0-5c74-98ec-2346424ebe87")}catch(e){}}();
3(self.webpackChunkpennylane_website=self.webpackChunkpennylane_website||[]).push([[9429],{89424:function(e,t,i){var n=i(2784),a=i(54790),s=i(91267),l=i(76741),r=i(8652),c=i(9619),d=i(52322);t.Z=e=>{let{link:t="",icon:i,alt:o="",title:u,description:m,className:_="",linkText:h="",simplePartnerCards:p=!1,gaEvent:x,isCarouselSlide:g=!1}=e;const b=(0,n.useRef)(null),{0:v,1:j}=(0,n.useState)(!g),f=!("string"==typeof i||null==i||!i.images),k=!("string"!=typeof i||!i.startsWith("https://"));(0,s.jr)(b,j,g);const y=(0,d.jsxs)("div",{ref:b,"data-testid":"card-container",className:"Link__card "+_+" "+(t?"":"Link__card--disabled"),children:[(0,d.jsx)("div",{className:p?"h-full flex items-center justify-center":"","data-testid":"image-wrapper",children:(0,d.jsx)("div",{className:"cardLink__image",children:f?(0,d.jsx)(a.G,{"data-testid":"gatsby-link-icon",image:i,alt:o}):(0,d.jsx)(r.Z,{"data-testid":"link-icon",alt:o,src:k?i:"/images/"+i})})}),u&&(0,d.jsx)("h2",{className:"text-2xl whitespace-pre-line",children:u}),m&&!p&&(0,d.jsx)(c.Z,{className:"text-grey-3",text:m}),h&&(0,d.jsxs)("span",{className:"Link__card__footer "+(p?"text-xl":"text-lg lg:py-4"),"data-testid":"link-card-footer",children:[h,!p&&(0,d.jsx)("i",{className:"bx bx-chevron-right text-3xl"})]})]});return t?(0,d.jsx)(l.Z,{href:t,onClick:x?()=>(0,s.WV)("click",x):void 0,tabIndex:v?0:-1,children:y}):y}},86156:function(e,t,i){i.d(t,{Z:function(){return u}});var n=i(2784),a=i(56694),s=i(91267),l=i(42185),r=i(76741),c=i(16780),d=i(52322);var o=e=>{let{sub_title:t,title:i,image:n,videoId:a}=e;return(0,d.jsxs)("section",{className:"Subhub__video__section",children:[(0,d.jsx)("h2",{children:t}),(0,d.jsx)("div",{className:"Subhub__video__card",children:(0,d.jsx)(c.Z,{title:i,videoId:a,image:n})}),(0,d.jsx)(r.Z,{href:"/videos",children:"See all videos"})]})};var u=e=>{let{top_section:t,video_section:i}=e;const{0:r,1:c}=(0,n.useState)(!1);return(0,s.jk)(c),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(a.Z,{pageTitle:t.title}),(0,d.jsxs)("div",{className:"Subhub "+(r?"Subhub--bannerVisible":""),children:[(0,d.jsx)(l.Z,{title:t.title,sub_title_1:t.sub_title_1,sub_title_2:t.sub_title_2,link_cards:t.link_cards}),(0,d.jsx)("hr",{className:"hr-border my-10"}),(0,d.jsx)(o,{sub_title:i.sub_title,title:i.title,videoId:i.videoId,image:i.image})]})]})}},42185:function(e,t,i){i.d(t,{Z:function(){return r}});var n=i(89424),a=i(52322);var s=e=>{let{cards:t}=e;return(0,a.jsx)("div",{className:"HubsCards",children:t.map(((e,t)=>(0,a.jsx)("div",{className:"HubsCard","data-testid":"hubs-card",children:(0,a.jsx)(n.Z,{link:e.link,icon:e.icon,alt:e.alt,title:e.title,description:e.description,linkText:e.linkText})},t+"-"+e.title)))})},l=i(70751);var r=e=>{let{title:t,sub_title_1:i,sub_title_2:n,sub_link:r,link_cards:c}=e;return(0,a.jsxs)("section",{className:"Top__section",children:[(0,a.jsxs)("div",{className:"Top__section__info",children:[(0,a.jsx)(l.Z,{title:t}),i&&(0,a.jsx)("h2",{className:"mb-6",children:i}),n&&(0,a.jsx)("h2",{children:n})]}),r&&r,(0,a.jsx)(s,{cards:c})]})}},70751:function(e,t,i){var n=i(19948),a=i(52322);t.Z=e=>{let{title:t,className:i=""}=e;return(0,a.jsxs)("h1",{className:"mb-5 "+i,children:[t,(0,a.jsx)(n.Z,{title:t})]})}},16780:function(e,t,i){var n=i(2784),a=i(91267),s=i(8652),l=i(52322);t.Z=e=>{let{title:t,subtitle:i,text:r,videoId:c,image:d,className:o=""}=e;const u=(0,n.useRef)(null),{0:m,1:_}=(0,n.useState)(!0);return(0,a.jr)(u,_,!0),(0,l.jsx)("div",{className:"Video__card "+o,ref:u,children:(0,l.jsxs)("a",{"data-testid":"video-link",href:"https://youtube.com/watch?v="+c,target:"_blank",rel:"noreferrer",tabIndex:m?0:-1,children:[(0,l.jsx)("div",{className:"Video__card__img__wrapper",children:(0,l.jsx)(s.Z,{src:d||"https://img.youtube.com/vi/"+c+"/mqdefault.jpg",withoutPrefix:!d,"data-testid":"preview-image",className:"Video__card__img",alt:""})}),(0,l.jsxs)("div",{className:"Video__card__body",children:[(0,l.jsx)("h2",{children:t}),i&&(0,l.jsx)("p",{className:"Video__card__subtitle",children:i}),r&&(0,l.jsx)("p",{className:"Video__card__text",children:r})]}),(0,l.jsx)("div",{className:"Video__card__footer",children:(0,l.jsxs)("span",{className:"flex items-center",children:["Watch",(0,l.jsx)("i",{className:"bx bx-chevron-right ml-2 text-3xl"})]})})]})})}},27315:function(e,t,i){i.r(t),i.d(t,{Head:function(){return m},default:function(){return u}});var n=i(86156),a=i(45051),s=i(52322);const{meta_title:l,meta_description:r,meta_image:c,top_section:d,video_section:o}={meta_title:"Quantum Machine Learning | PennyLane",meta_description:"Get started with quantum machine learning using PennyLane—the definitive open-source Python framework for quantum programming, built by researchers for research.",meta_image:"https://assets.cloud.pennylane.ai/pennylane_website/generic/generic_og.png",top_section:{title:"Quantum Machine Learning",sub_title_1:"We're entering an exciting time in quantum physics and quantum computation: near-term quantum devices are rapidly becoming a reality, accessible to everyone over the internet.",sub_title_2:"This, in turn, is driving the development of quantum machine learning and variational quantum circuits.",link_cards:[{link:"/whatisqml",icon:"https://assets.cloud.pennylane.ai/pennylane_website/pages/qml/QML.svg",alt:"",title:"What is QML?",description:"Find out how the principles of quantum computing and machine learning can be united to create something new.",linkText:"Read more"},{link:"/glossary",icon:"https://assets.cloud.pennylane.ai/pennylane_website/icons/glossary_icon.png",alt:"",title:"Key Terms",description:"Explore different c
3oncepts underpinning variational quantum circuits and quantum machine learning.",linkText:"Read more"},{link:"/demonstrations",icon:"https://assets.cloud.pennylane.ai/pennylane_website/icons/demos_icon.png",alt:"",title:"Demos",description:"Take a dive into quantum machine learning by exploring cutting-edge algorithms on near-term quantum hardware.",linkText:"Read more"}]},video_section:{sub_title:"Sit back and explore quantum machine learning with our curated selection of expert videos.",img_alt:"Optimize a Quantum Circuit thumbnail",title:"Optimize a Quantum Circuit",image:"https://assets.cloud.pennylane.ai/pennylane_website/pages/qml/quantumMachineLearning/YTQuantumCircuit.png",videoId:"42aa-Ve5WmI"}};var u=()=>(0,s.jsx)(n.Z,{top_section:d,video_section:o});const m=()=>(0,s.jsx)(a.Z,{title:l,description:r,image:c})}}]);
4//# sourceMappingURL=component---src-pages-quantum-machine-learning-tsx-1031ac3b72764958291d.js.map
5//# debugId=485dab1d-66e0-5c74-98ec-2346424ebe87

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.