<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Amani Mimoun on Medium]]></title>
        <description><![CDATA[Stories by Amani Mimoun on Medium]]></description>
        <link>https://medium.com/@amanimimoun?source=rss-6815583d5bc7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EOoI9tTRykcyKm6091nl5w.jpeg</url>
            <title>Stories by Amani Mimoun on Medium</title>
            <link>https://medium.com/@amanimimoun?source=rss-6815583d5bc7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 20:08:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@amanimimoun/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My Journey with Womanium & WISER Quantum 2025]]></title>
            <link>https://medium.com/@amanimimoun/my-journey-with-womanium-wiser-quantum-2025-4e90f9064a30?source=rss-6815583d5bc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e90f9064a30</guid>
            <dc:creator><![CDATA[Amani Mimoun]]></dc:creator>
            <pubDate>Mon, 11 Aug 2025 17:52:01 GMT</pubDate>
            <atom:updated>2025-08-11T17:52:01.143Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5UxT-hq5_l9ZV8kicufjiw.png" /></figure><p>This year, I had the opportunity to take part in <a href="https://www.womanium.org/Quantum/PDE"><strong>Womanium</strong></a><strong> &amp; </strong><a href="https://www.thewiser.org/"><strong>WISER</strong></a><strong> Quantum 2025</strong>, and it turned into one of the most enriching learning experiences I’ve had in quantum computing so far.</p><p>The <a href="https://www.thewiser.org/agenda">program</a> focused on <strong>quantum solvers</strong> , algorithms designed to tackle complex mathematical and physical problems. Over the weeks, I dove into several exciting modules:</p><ul><li><strong>Quantum Algorithms to Solve Partial Differential Equations, </strong>understanding how quantum methods can address problems that arise in physics and engineering.</li><li><strong>Data Access Models for Quantum Algorithms</strong> , learning about how quantum computers handle and access data efficiently.</li><li><strong>Hamiltonian Simulation, </strong>exploring the heart of simulating quantum systems, a crucial step for both chemistry and physics applications.</li><li><strong>Quantum Algorithms for Nonlinear Problems</strong> , discovering approaches for problems that go beyond simple linear models.</li></ul><p>One of the highlights of my journey was working with <a href="https://pennylane.ai/"><strong>PennyLane</strong></a>, a versatile framework that made it possible to translate abstract theory into practical, hands-on quantum experiments. It helped bridge the gap between mathematical concepts and executable quantum code, making the learning process much more intuitive.</p><p>Beyond the technical skills, what stood out the most was the <strong>community </strong>passionate mentors, inspiring peers, and an environment that encouraged curiosity and collaboration.</p><p>I walked away from this program with not just new knowledge, but also a clearer vision of how quantum computing can be applied to real-world challenges.</p><p>A big thank you to <a href="https://www.womanium.org/Quantum/PDE"><strong>Womanium</strong></a>, <a href="https://www.thewiser.org/"><strong>WISER</strong></a>, and everyone involved in making this program so impactful. I’m excited to keep building on what I’ve learned and to explore even more in the quantum world.</p><blockquote>#QuantumComputing #Womanium #WISER #PennyLane #QuantumSolvers #HamiltonianSimulation #QuantumAlgorithms #LearningJourney #Quantum #HHL #Computerscience</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6gdVYBuUzYl4aIIoDqryQA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cEkb4MtOKmA8BpsYC_DeUQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9ybptmVISGMTRXivu7gq1g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*GMS4L6tDrhnHoEO2v8CA3w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e90f9064a30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Machine Learning]]></title>
            <link>https://medium.com/@amanimimoun/introduction-to-machine-learning-dfa343a647b5?source=rss-6815583d5bc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfa343a647b5</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Amani Mimoun]]></dc:creator>
            <pubDate>Sun, 06 Oct 2024 13:40:56 GMT</pubDate>
            <atom:updated>2024-10-06T13:40:56.523Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vNfgbM8SvJWba3ZFtxGmBg.jpeg" /></figure><h3>What is machine learning?</h3><blockquote><strong>Machine learning</strong> is the subfield of computer science that gives computers the ability to learn without being explicitly programmed. -Arthur Samuel (1959)-</blockquote><h3>How does ML work?</h3><blockquote>The process of machine learning consists of several basic steps that can be easily illustrated:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nAlv6lDrd-txEoS75-U6vQ.png" /></figure><blockquote><strong>Input Data: </strong>The journey begins with data collection, encompassing various forms like photos, texts, sounds, and numerical figures.</blockquote><blockquote><strong>Data Preparation: </strong>Once gathered, the data undergoes a cleaning process to ensure its accuracy. This phase involves rectifying inaccuracies, addressing errors, and filling in missing values. While this step is optional, it’s highly recommended to achieve superior outcomes.</blockquote><blockquote><strong>Data Analysis:</strong> At this juncture, the machine learning model delves into understanding the data’s structure and discerning relationships between its various features.</blockquote><blockquote><strong>Pattern Search:</strong> Leveraging insights from the analysis, the model unearths hidden patterns and connections within the data.</blockquote><blockquote><strong>Prediction:</strong> Drawing on these identified patterns, the model is primed to forecast outcomes for new, unseen data.</blockquote><blockquote><strong>Decision-making: </strong>Informed by the predictions, the system arrives at specific conclusions and takes corresponding actions. An example would be the system classifying an email as spam or legitimate; depending on this classification, it’ll then allocate the email to the relevant folder.</blockquote><h3>What is the difference between AI, ML , deep learning and Neutral Networks?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dOswf4Q3xWYF3PNxC1BAEQ.png" /></figure><blockquote><strong><em>Artificial Intelligence (AI):</em></strong> is a broad field of computer science focused on creating systems capable of performing tasks that typically require human intelligence. This includes problem-solving, reasoning, understanding natural language, and perception.</blockquote><blockquote><strong><em>Machine Learning (ML): </em></strong>is a subset of AI that involves training algorithms to learn from and make predictions or decisions based on data. It focuses on developing systems that can improve their performance over time without being explicitly programmed.</blockquote><blockquote><strong>Neural Networks:</strong> are a subset of machine learning models inspired by the human brain, consisting of an input layer, one or more hidden layers, and an output layer. Each node (artificial neuron) is connected to others and has an associated weight and threshold. When a node’s output exceeds its threshold, it activates and sends data to the next layer. Networks with more than three layers, including input and output layers, are considered deep neural networks, while those with only three layers are basic neural networks.</blockquote><blockquote><strong><em>Deep Learning :</em></strong> is a subset of ML that involves neural networks with many layers (hence “deep”). These neural networks are designed to automatically and adaptively learn feature representations from data.</blockquote><h3>What are the types of problems in ML?</h3><blockquote>The types of problems in machine learning (ML) are:</blockquote><blockquote><strong>Classification</strong>: The goal is to categorize data into predefined classes or labels. For example, email spam detection (spam or not spam) or image recognition (dog, cat, etc.).</blockquote><blockquote><strong>Regression</strong>: This involves predicting a continuous value based on input data. Common examples include predicting house prices or stock market values.</blockquote><blockquote><strong>Clustering</strong>: The task is to group similar data points together without predefined labels, based on patterns or similarities in the data. It’s used in market segmentation, anomaly detection, and image compression.</blockquote><blockquote><strong>Dimensionality Reduction</strong>: The aim is to reduce the number of features or variables in a dataset while preserving its essential information. It’s often used for data visualization or improving model efficiency.</blockquote><blockquote><strong>Anomaly Detection</strong>: This involves identifying rare or unusual data points that deviate significantly from the norm. It’s commonly used in fraud detection or fault detection in systems.</blockquote><blockquote><strong>Reinforcement Learning Problems</strong>: These problems involve an agent learning to make decisions by interacting with an environment and receiving rewards or penalties. Applications include game AI, robotics, and self-driving cars.</blockquote><blockquote><strong>Recommendation Systems</strong>: These systems predict a user’s preferences or suggest items based on past behavior, often used in platforms like Netflix or Amazon.</blockquote><blockquote>These problem types guide how machine learning models are designed and trained to address specific challenges.</blockquote><h3>What are the different methods used in ML?</h3><blockquote>The different methods used in machine learning include:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*o4WyDvYHWa3PQV04X_tpkw.png" /></figure><blockquote><a href="https://www.ibm.com/topics/supervised-learning"><strong>1-Supervised learning</strong></a>, also known as supervised machine learning, is defined by its use of labeled datasets to train algorithms to classify data or predict outcomes accurately. As input data is fed into the model, the model adjusts its weights until it has been fitted appropriately. This occurs as part of the cross validation process to ensure that the model avoids <a href="https://www.ibm.com/topics/overfitting">overfitting</a> or <a href="https://www.ibm.com/topics/underfitting">underfitting</a>. Supervised learning helps organizations solve a variety of real-world problems at scale, such as classifying spam in a separate folder from your inbox. Some methods used in supervised learning include neural networks, naïve bayes, linear regression, logistic regression, random forest, and support vector machine (SVM).</blockquote><blockquote><a href="https://www.ibm.com/topics/unsupervised-learning"><strong>2-Unsupervised learning</strong></a><strong>,</strong> also known as unsupervised machine learning, uses machine learning algorithms to analyze and cluster unlabeled datasets (subsets called clusters). These algorithms discover hidden patterns or data groupings without the need for human intervention. This method’s ability to discover similarities and differences in information make it ideal for exploratory data analysis, cross-selling strategies, customer segmentation, and image and pattern recognition. It’s also used to reduce the number of features in a model through the process of dimensionality reduction. Principal component analysis (PCA) and singular value decomposition (SVD) are two common approaches for this. Other algorithms used in unsupervised learning include neural networks, k-means clustering, and probabilistic clustering methods.</blockquote><blockquote><strong>3-Semi-supervised learning</strong> offers a happy medium between supervised and unsupervised learning. During training, it uses a smaller labeled data set to guide classification and feature extraction from a larger, unlabeled data set. Semi-supervised learning can solve the problem of not having enough labeled data for a supervised learning algorithm. It also helps if it’s too costly to label enough data.</blockquote><blockquote>For a deep dive into the differences between these approaches, check out “<a href="https://www.ibm.com/think/topics/supervised-vs-unsupervised-learning">Supervised vs. Unsupervised Learning: What’s the Difference?</a>”</blockquote><blockquote><strong>4-Reinforcement machine learning</strong> is a machine learning model that is similar to supervised learning, but the algorithm isn’t trained using sample data. This model learns as it goes by using trial and error. A sequence of successful outcomes will be reinforced to develop the best recommendation or policy for a given problem.</blockquote><h3>What are the real-world applications of Machine Learning?</h3><blockquote>Machine learning (ML) has a wide range of real-world applications across various industries. Here are some key areas where ML is making an impact:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*UNIHGj7tpk4bPFGTiJX2eA.png" /></figure><blockquote><strong>1-Healthcare:</strong></blockquote><blockquote><strong>Disease Diagnosis:</strong> ML algorithms analyze medical images (like X-rays and MRIs) and patient data to help diagnose diseases such as cancer.</blockquote><blockquote><strong>Personalized Medicine:</strong> By analyzing genetic information, ML can tailor treatments to individual patients.</blockquote><blockquote><strong>Predictive Analytics:</strong> ML models predict patient outcomes and disease outbreaks, improving preventative measures.</blockquote><blockquote><strong>2-Finance:</strong></blockquote><blockquote><strong>Fraud Detection:</strong> ML systems identify unusual patterns in transactions that may indicate fraud.</blockquote><blockquote><strong>Algorithmic Trading:</strong> Automated trading systems use ML to make high-frequency trading decisions based on market data.</blockquote><blockquote><strong>Credit Scoring:</strong> ML assesses credit risk by analyzing various financial data points.</blockquote><blockquote><strong>3-Retail:</strong></blockquote><blockquote><strong>Customer Recommendation Systems:</strong> E-commerce platforms use ML to analyze customer behavior and suggest products based on preferences.</blockquote><blockquote><strong>Inventory Management:</strong> ML helps optimize stock levels by predicting demand for products.</blockquote><blockquote><strong>4-Transportation:</strong></blockquote><blockquote><strong>Self-Driving Cars:</strong> ML algorithms process data from sensors and cameras to enable autonomous driving.</blockquote><blockquote><strong>Traffic Management:</strong> ML analyzes traffic patterns to optimize traffic flow and reduce congestion.</blockquote><blockquote><strong>5-Manufacturing:</strong></blockquote><blockquote><strong>Predictive Maintenance:</strong> ML predicts equipment failures before they happen, minimizing downtime and maintenance costs.</blockquote><blockquote><strong>Quality Control:</strong> ML systems inspect products in real-time to ensure quality standards are met.</blockquote><blockquote><strong>6-Telecommunications:</strong></blockquote><blockquote><strong>Network Optimization:</strong> ML optimizes network performance by predicting and managing data traffic.</blockquote><blockquote><strong>Customer Service:</strong> Chatbots and virtual assistants use ML to provide customer support and resolve issues.</blockquote><blockquote><strong>7-Agriculture:</strong></blockquote><blockquote><strong>Precision Farming:</strong> ML analyzes data from sensors and drones to optimize crop yields and reduce waste.</blockquote><blockquote><strong>Pest Detection:</strong> ML systems identify pests and diseases early, allowing for timely intervention.</blockquote><blockquote><strong>8-Natural Language Processing:</strong></blockquote><blockquote><strong>Language Translation:</strong> ML models power translation services like Google Translate.</blockquote><blockquote><strong>Sentiment Analysis:</strong> Businesses analyze customer feedback and social media sentiment using ML.</blockquote><blockquote><strong>9-Energy:</strong></blockquote><blockquote><strong>Smart Grids:</strong> ML optimizes energy distribution and consumption, integrating renewable energy sources.</blockquote><blockquote><strong>Predictive Maintenance for Equipment:</strong> ML predicts failures in energy infrastructure, reducing outages.</blockquote><blockquote><strong>10-Entertainment:</strong></blockquote><blockquote><strong>Content Recommendations:</strong> Streaming services use ML to suggest movies and shows based on user preferences.</blockquote><blockquote><strong>Game Development:</strong> ML enhances gameplay experiences through adaptive AI and dynamic content generation.</blockquote><p>Machine learning has become a cornerstone of modern technology, empowering computers to learn from vast datasets and make informed decisions across various applications, such as natural language processing, computer vision, and predictive analytics. As machine learning continues to evolve, it faces significant challenges, particularly concerning computational efficiency and the ability to process large-scale datasets. These limitations have sparked interest in quantum computing, which harnesses the principles of quantum mechanics to perform complex calculations at unprecedented speeds. Quantum machine learning represents the convergence of these two fields, aiming to enhance machine learning algorithms through the unique capabilities of quantum systems. By exploiting phenomena such as superposition and entanglement, quantum machine learning has the potential to revolutionize how we analyze data, ultimately leading to more powerful and efficient models that could address problems beyond the reach of classical computing.</p><p>… Next : Quantum Machine Learning</p><p><em>|References:</em></p><p><a href="https://www.youtube.com/watch?v=jGwO_UgTS7I&amp;list=PLoROMvodv4rMiGQp3WXShtMGgzqpfVfbU">Stanford CS229: Machine Learning Course</a></p><p><a href="https://github.com/1965Eric/IBM-ML0101EN-Machine-Learning-with-Python">IBM-ML0101EN-Machine-Learning-with-Python</a></p><p><a href="https://www.ibm.com/topics/machine-learning">IBM</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfa343a647b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Qiskit Global Summer School 2024: The path to Utility]]></title>
            <link>https://medium.com/@amanimimoun/qiskit-global-summer-school-2024-the-path-to-utility-fb5c15ad4c2b?source=rss-6815583d5bc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb5c15ad4c2b</guid>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[quantum-computer]]></category>
            <category><![CDATA[qiskit]]></category>
            <category><![CDATA[ibm-quantum-challenge]]></category>
            <dc:creator><![CDATA[Amani Mimoun]]></dc:creator>
            <pubDate>Wed, 25 Sep 2024 10:37:20 GMT</pubDate>
            <atom:updated>2024-09-25T10:37:20.270Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://github.com/qiskit-community/qgss-2024">Source.</a></p><p>The Qiskit Global Summer School is a two-week intensive summer program designed to empower the quantum researchers and developers of tomorrow with the know-how to explore the world of quantum computing, as well as refresh and sharpen the industry professional’s skills. This fifth-annual summer school will prepare participants for the imminent era of quantum utility. Using hands on examples, the syllabi will guide students through areas of near-term practical importance.</p><p>The <strong>Qiskit Global Summer School</strong> includes four key labs:</p><ol><li><a href="https://github.com/qiskit-community/qgss-2024/tree/main/labs/lab1"><strong>Lab 1 — Quantum Circuit Transpilation:</strong></a> Focuses on using Qiskit to generate hardware-compliant quantum circuits and create custom transpilation passes.</li><li><a href="https://github.com/qiskit-community/qgss-2024/tree/main/labs/lab2"><strong>Lab 2 — Utility-Scale Layer Fidelity Experiment:</strong></a> Explores the fidelity of quantum operations in large-scale quantum circuits.</li><li><a href="https://github.com/qiskit-community/qgss-2024/tree/main/labs/lab3"><strong>Lab 3 — Quantum Error Suppression and Mitigation with Qiskit Runtime:</strong> </a>Teaches techniques for error suppression and mitigation in quantum computing using Qiskit Runtime.</li><li><a href="https://github.com/qiskit-community/qgss-2024/tree/main/labs/lab4"><strong>Lab 4 — Simulating Nature at Utility Scale:</strong></a> Demonstrates how to simulate complex natural systems at utility scale with quantum computing.</li></ol><p>These labs guide participants through practical quantum computing challenges as part of their learning experience.</p><p>You can find the solutions for the <strong>Qiskit Global Summer School 2024</strong> labs at the following GitHub repository: <a href="https://github.com/qiskit-community/qgss-2024/tree/main/solutions">QGSS 2024 Solutions</a>.</p><p>My experience with the Qiskit Global Summer School challenge was incredibly rewarding. The structured labs and hands-on tasks, particularly on topics like circuit transpilation and error mitigation, allowed me to deepen my understanding of practical quantum computing. Each lab presented unique challenges, but the clear instructions and real-world applications made the learning process engaging. I felt a strong sense of accomplishment by the end, as I could apply new concepts to solve complex problems. Overall, it was an enriching and enjoyable experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5p1SyPoOXgiLYg2N3k5aHA.png" /><figcaption>Certificate of participation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zb11xXweT0L_Bc4BQ3GICA.png" /><figcaption>Badge: Qiskit Global Summer School 2024 — Quantum Excellence</figcaption></figure><p><a href="https://docs.quantum.ibm.com/">IBM Quantum Documentation</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb5c15ad4c2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Quantum Key Distribution”]]></title>
            <link>https://medium.com/@amanimimoun/quantum-key-distribution-7666e9638b36?source=rss-6815583d5bc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7666e9638b36</guid>
            <category><![CDATA[quantum-cryptography]]></category>
            <category><![CDATA[womanium]]></category>
            <category><![CDATA[qkd]]></category>
            <category><![CDATA[quantum-security]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <dc:creator><![CDATA[Amani Mimoun]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 00:01:57 GMT</pubDate>
            <atom:updated>2023-09-19T00:01:57.847Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>The Global Quantum Project _WOMANIUM 2023</blockquote><p><em>“Everything mentioned bellow has been covered in the WOMANIUM QUANTUM program, specifically in the QKD module.”</em></p><p><em>“All the links and references will be cited at the end of the report.”</em></p><h3><strong>Quantum Cryptography vs Classical Cryptography:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mPw0WnIr5TH0xHy9mjFNIg.png" /><figcaption>This image shows the differences between classical cryptography and quantum cryptography.</figcaption></figure><p>Quantum cryptography and classical cryptography represent two distinct paradigms for achieving secure communication. Quantum cryptography offers the promise of absolute security based on the principles of quantum physics but faces practical implementation challenges. Classical cryptography relies on computational complexity and mathematical problems for security, making it vulnerable to quantum computing attacks. Both fields continue to evolve as researchers work to address their respective limitations and security concerns.</p><p>Here’s a comparative overview of quantum cryptography and classical cryptography:</p><h3>I - Classical Cryptography:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*d1x-bYAvpEqfqv6xjWTL7A.png" /><figcaption>Classical Cryptoghraphy</figcaption></figure><p>Classical cryptography refers to traditional methods of encrypting and decrypting information using mathematical algorithms and techniques that do not rely on the principles of quantum mechanics. These methods have been in use for centuries and are the foundation of modern cryptography. Classical cryptography can be divided into two main categories: symmetric-key cryptography and asymmetric-key cryptography.</p><h4><strong>1- Symmetric Cryptography:</strong></h4><p>Symmetric-key cryptography, also known as secret-key cryptography, is a cryptographic technique that uses a single shared key for both encryption and decryption of data. In symmetric-key cryptography, the same key is used by both the sender (or encryptor) and the recipient (or decryptor) to transform plaintext (unencrypted data) into ciphertext (encrypted data) and vice versa.</p><blockquote>Encryption and decryption are fundamental processes in cryptography used to secure data and communication. These processes involve transforming plaintext (unencrypted data, denoted by 𝑀) into ciphertext (encrypted data, denoted by 𝐶) using an encryption algorithm and a secret key. It is performed at the sender’s end. Decryption, on the other hand, reverses the process, converting ciphertext C back into plaintext M using the same encryption algorithm and the same secret key. It is performed at the receiver’s end.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*NGq0t5KbeVlXFbQBgDzlaA.png" /><figcaption>Symmetric Cryptography’s protocol</figcaption></figure><pre># For symmetric cryptography, the algorithm is;<br><br>                              𝐷_𝑘(𝐸_𝑘(𝑀))=𝑀</pre><p>Here are the key aspects and applications of symmetric-key cryptography:</p><ol><li>Key Sharing:</li></ol><ul><li>The most critical aspect of symmetric-key cryptography is the secure sharing of the secret key between the parties who wish to communicate securely. If an unauthorized party gains access to the key, they can decrypt the encrypted messages.</li></ul><p>2. Encryption and Decryption:</p><ul><li>Encryption: To encrypt a message, the sender uses the secret key and a cryptographic algorithm to transform plaintext into ciphertext. This process obscures the original content of the message.</li><li>Decryption: The recipient, who possesses the same secret key, uses it in conjunction with the same cryptographic algorithm to reverse the process and convert the ciphertext back into plaintext, recovering the original message.</li></ul><p>3. Key Length:</p><ul><li>The security of symmetric-key cryptography relies heavily on the length and complexity of the secret key. Longer keys generally provide stronger security.</li></ul><p>4. Speed and Efficiency:</p><ul><li>Symmetric-key encryption and decryption processes are typically faster and require less computational power compared to their asymmetric (public-key) counterparts. This makes symmetric cryptography well-suited for applications where speed and efficiency are critical.</li></ul><p>5. Use Cases:</p><ul><li>Data Encryption: Symmetric-key cryptography is commonly used for encrypting data at rest or during transmission. For example, it is used to secure files, emails, and communication channels.</li><li>Secure Sockets Layer (SSL) and Transport Layer Security (TLS): These protocols use symmetric-key cryptography to secure internet communication, such as web browsing and online banking. A unique symmetric key is generated for each session.</li><li>Secure Communication: Many secure communication applications, including secure messaging and voice over IP (VoIP), use symmetric encryption to protect the confidentiality of data.</li><li>File Encryption: Disk encryption tools, such as BitLocker and FileVault, use symmetric-key cryptography to encrypt entire storage devices or specific files.</li></ul><p>6. Key Management:</p><ul><li>Key management is a critical aspect of symmetric-key cryptography. It involves securely generating, distributing, storing, and disposing of keys. The challenge is ensuring that only authorized parties have access to the secret key.</li></ul><p>7. Security Considerations:</p><ul><li>While symmetric-key cryptography is efficient, its main security challenge is key distribution. Parties must establish a secure channel to exchange the secret key without it being intercepted by malicious actors. This process is known as key distribution or key exchange.</li></ul><p>An example of <strong>Symmetric Cryptography:</strong></p><h4>One-Time Pad:</h4><p>The One-Time Pad (OTP) is a cryptographic technique that provides perfect secrecy when used correctly. It is a symmetric-key encryption method that uses a random and secret key of the same length as the plaintext to encrypt and decrypt messages. It is an encryption technique that cannot be decrypted.</p><p>In this technique, a plaintext is paired with a random secret key (also referred to as <em>a one-time pad</em>). Then, each bit or character of the plaintext is encrypted by combining it with the corresponding bit or character from the pad using modular addition.</p><p>The resulting ciphertext will be impossible to decrypt or break if the following four conditions are met:</p><ol><li>The key must be at least as long as the plaintext.</li><li>The key must be random (uniformly distributed in the set of all possible keys and independent of the plaintext), entirely sampled from a non-algorithmic source such as a hardware random number generator.</li><li>The key must never be reused in whole or in part.</li><li>The key must be kept completely secret by the communicating parties.</li></ol><blockquote>See the video:</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFlIG3TvQCBQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFlIG3TvQCBQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFlIG3TvQCBQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ecf2b37bdfe71996fd453741642a6d29/href">https://medium.com/media/ecf2b37bdfe71996fd453741642a6d29/href</a></iframe><p>Exemple: Suppose Alice wishes to send the message hello to Bob.</p><p>In this example, the technique is to combine the key and the message using modular addition. The numerical values of corresponding message and key letters are added together, modulo 26. So, if key material begins with XMCKL and the message is hello, then the coding would be done as follows:</p><pre>#Encryption:<br><br> h       e       l       l       o  message<br>   7 (h)   4 (e)  11 (l)  11 (l)  14 (o) message<br>+ 23 (X)  12 (M)   2 (C)  10 (K)  11 (L) key<br>= 30      16      13      21      25     message + key<br>=  4 (E)  16 (Q)  13 (N)  21 (V)  25 (Z) (message + key) mod 26<br>      E       Q       N       V       Z  → ciphertext</pre><pre>#Decryption:<br><br>  E       Q       N       V       Z  ciphertext<br>    4 (E)  16 (Q)  13 (N)  21 (V)  25 (Z) ciphertext<br>−  23 (X)  12 (M)   2 (C)  10 (K)  11 (L) key<br>= −19       4      11      11      14     ciphertext – key<br>=   7 (h)   4 (e)  11 (l)  11 (l)  14 (o) ciphertext – key (mod 26)<br>       h       e       l       l       o  → message</pre><p>Thus Bob recovers Alice’s plaintext, the message hello. Both Alice and Bob destroy the key sheet immediately after use, thus preventing reuse and an attack against the cipher.</p><p>The one-time pad encryption method is characterized by “perfect secrecy,” a concept established by Claude Shannon during World War II. This level of security means that the ciphertext, or the encrypted message, reveals no information about the original message to a cryptanalyst. Even when faced with adversaries possessing unlimited computational power, properly used one-time pads remain secure. Shannon’s work, published in 1949, showed that given a truly random key used only once, the ciphertext can be transformed into any plaintext of the same length, with all options being equally likely. As a result, the probability of a plaintext message M before encryption is identical to the probability of that message given the corresponding ciphertext. This property makes the one-time pad a highly secure encryption technique.</p><h4><strong>2- Asymmetric Cryptography:</strong></h4><p>Public-key cryptography, also known as asymmetric cryptography, is a cryptographic technique that uses a pair of mathematically related keys: a public key and a private key. These keys are used for various security purposes, including encryption, decryption, digital signatures, and authentication. Public-key cryptography is a fundamental concept in modern cybersecurity and secure communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*DaNxPL2JLsGzV3fxSUbehg.png" /><figcaption>Asymmetric Cryptography protocol</figcaption></figure><pre># For asymmetric cryptography with encryption key  $𝑘_1$ different from decryption key  $𝑘_2$,<br><br>E_{k_1}(M)=C<br>D_{k_2}(C)=M<br>D_{k_2}(E_{k_1}(M))=M</pre><p>Here are key aspects and applications of public-key cryptography:</p><ol><li>Key Pair:</li></ol><p>In asymmetric cryptography, a key pair consists of two keys:</p><ul><li>Public Key: This key is widely shared and can be freely distributed. It is used to encrypt data or verify digital signatures but cannot be used to decrypt data.</li><li>Private Key: The private key is kept confidential and securely by its owner. It is used for decryption and signing. Only the owner of the private key can decrypt messages encrypted with the corresponding public key or create valid digital signatures.</li></ul><p>2. Encryption and Decryption:</p><ul><li>Encryption: When a sender wants to send an encrypted message to a recipient, they use the recipient’s public key to encrypt the message. The recipient, in possession of the private key, can then decrypt and read the message. This process ensures the confidentiality of the communication.</li><li>Decryption: To decrypt the message, the recipient uses their private key. Asymmetric encryption relies on complex mathematical operations that are easy to perform in one direction (encryption) but computationally infeasible to reverse without the private key.</li></ul><p>3. Digital Signatures:</p><ul><li>Public-key cryptography is also used to create digital signatures, which provide authentication and integrity for digital documents. The sender uses their private key to create a signature, and the recipient verifies it using the sender’s public key.</li></ul><p>4. Key Distribution:</p><ul><li>One of the key advantages of asymmetric cryptography is that the public key can be distributed openly without compromising security. This simplifies the key distribution problem compared to symmetric-key cryptography, where both parties need to share a secret key in advance.</li></ul><p>5. Use Cases:</p><ul><li>Asymmetric cryptography is widely used for various security applications, including:</li><li>Secure Communication: It is used in secure email communication, secure web browsing (e.g., HTTPS), and virtual private networks (VPNs).</li><li>Digital Signatures: It provides authenticity and integrity verification for digital documents, contracts, and messages.</li><li>Secure Authentication: Public-key cryptography can be used for secure login authentication, ensuring that users are who they claim to be.</li><li>Secure Transactions: It is essential for securing financial transactions, online banking, and electronic payment systems.</li></ul><p>6. Key Management:</p><ul><li>Key management is a critical aspect of asymmetric cryptography. It involves generating, securing, and storing key pairs, as well as ensuring the authenticity and trustworthiness of public keys through digital certificates issued by trusted certificate authorities (CAs).</li></ul><p>7. Security Considerations:</p><ul><li>The security of asymmetric cryptography relies on the mathematical complexity of problems like factoring large numbers (RSA) or solving discrete logarithms (Diffie-Hellman). However, the security of public-key cryptography is potentially vulnerable to advances in quantum computing, which could solve these problems efficiently.</li></ul><p>An example of <strong>Asymmetric Cryptography:</strong></p><h3>RSA:</h3><p>RSA, short for Rivest–Shamir–Adleman, is a widely used asymmetric or public-key cryptosystem in modern cryptography. Developed by Ron Rivest, Adi Shamir, and Leonard Adleman in 1977, RSA plays a crucial role in securing digital communication, digital signatures, and key exchange.</p><p>RSA encryption is based on the difficulty in factorizing a large integer.</p><ul><li>Public key consists of two numbers where one number is a multiple of two large prime numbers.</li><li>Private key is also calculated using the same prime numbers.</li></ul><p>The security of the private key is compromised if somebody can factorize the number. Therefore, encryption strength totally lies on the key size and if we double or triple the key size, encryption strength increases exponentially.</p><p>RSA keys are typically 1024 or 2048 bits long, but 1024-bit keys are no longer secure against all attacks.</p><p><strong>the mechanism behind the RSA algorithm (example) :</strong></p><p><strong>&gt;&gt; Generating Public Key:</strong></p><pre>Select two large prime numbers, P and Q. Suppose P = 53 and Q = 59.<br>Now First part of the Public key  : n = P*Q = 3127. (choise)<br>We also need a small exponent say e : <br>But e Must be an integer, not be a factor of Φ(n). <br>1 &lt; e &lt; Φ(n)<br>e = 3 (example)<br>So, public Key is made of n and e.</pre><p><strong>&gt;&gt; Generating Private Key:</strong></p><pre>We need to calculate Φ(n) :<br>Such that Φ(n) = (P-1)(Q-1)   so,  Φ(n) = 3016<br>Now calculate Private Key, d : <br>d = (k*Φ(n) + 1) / e for some integer k<br>For k = 2, value of d is 2011.</pre><p>Now we are ready with our — Public Key ( n = 3127 and e = 3) and Private Key(d = 2011) Now we will encrypt <strong>“HI”</strong>:</p><pre>Convert letters to numbers : H  = 8 and I = 9 ,(M =89) <br>Thus Encrypted Data C :<br>      $$C = M^{e} mod n$$<br>        C = (89^e) mod n <br>Thus our Encrypted Data comes out to be 1394<br>Now we will Decrypted Data M: <br>         M = (C^d)mod n<br>Thus our Decrypted Data comes out to be 89<br>8 = H and I = 9 i.e. &quot;HI&quot;.</pre><p><a href="https://www.geeksforgeeks.org/rsa-algorithm-cryptography/">C++ program for RSA asymmetric cryptographic</a></p><p>While classical cryptography techniques played a crucial historical role in securing sensitive information, they are generally not recommended for modern security needs. The risks associated with classical cryptography include: ‘Lack of Strong Security’, ‘Vulnerability to Frequency Analysis’, ‘Key Length Limitations’, ‘Key Distribution Challenges’…</p><h3>II- Quantum Cryptography:</h3><p>Quantum cryptography is a method of encryption that uses the naturally occurring properties of quantum mechanics to secure and transmit data in a way that cannot be hacked. Quantum cryptography is a system that is completely secure against being compromised without the knowledge of the message sender or the receiver. That is, it is impossible to copy or view data encoded in a quantum state without alerting the sender or receiver. Quantum cryptography should also remain safe against those using quantum computing as well.</p><p>Quantum cryptography uses individual particles of light, or photons, to transmit data over fiber optic wire. The photons represent binary bits. The security of the system relies on quantum mechanics. These secure properties include the following:</p><ul><li>particles can exist in more than one place or state at a time (superposition);</li><li>A quantum property cannot be observed without changing or disturbing it;</li><li>And whole particles cannot be copied.</li></ul><blockquote>Non-cloning theorem is a fundamental principle of quantum mechanics that highlights the unique nature of quantum information. It dictates that perfect cloning of arbitrary quantum states is impossible, which has implications for quantum computing, quantum communication, and the security of quantum cryptographic systems.</blockquote><p>These properties make it impossible to measure the quantum state of any system without disturbing that system.</p><p>Additionally, there are 2 important elements of quantum mechanics on which quantum cryptography depends: <strong>Heisenberg Uncertainty Principle</strong> and <strong>Photon Polarization Principle</strong>. And it establishes secure communication based on fundamental physics laws instead of mathematical algorithms. It can detect eavesdropping in QKD (Quantum Key Distribution) since it’s impossible to copy the data encoded in quantum state.</p><h3>Quantum Key Distribution:</h3><p>Quantum Key Distribution (QKD) is a specialized branch of quantum cryptography that focuses on securely exchanging cryptographic keys between two parties while detecting any eavesdropping attempts. QKD leverages the principles of quantum mechanics to provide strong security guarantees that are theoretically unbreakable using classical computing methods.</p><p>The primary goal of QKD is to enable two parties, often referred to as Alice and Bob, to generate a shared secret cryptographic key. This key can be used for secure communication, data encryption, or authentication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Do5O28XLSI4TCygnAhFEA.png" /><figcaption>QKD Structure.</figcaption></figure><pre># Distributing quantum states <br>Alice prepares and encodes her qubits, then sends those to Bob.<br><br># Sifting <br>Alice and Bob compare encoding and decoding information.<br><br># Quantum Bit Error Rate (QBER) <br>Alice and Bob compare part of their key string to verify error rate.<br><br># Information Reconciliation <br>If previous step showed that error value  ≠0, then users apply error correction techniques to ensure that their key is identical.<br><br># Privacy Amplification <br>Users generate final key string.</pre><p>After this key is shared between Alice and Bob, further exchange of information can take place through known cryptographic strategies. Two common categories of QKD protocols are those based on Heisenberg’s Uncertainty Principle and those based on quantum entanglement;</p><h4><strong>1- Based On Heisenberg’s Uncertainty Principle:</strong></h4><ul><li><strong>BB84 Protocol (Bennett-Brassard 1984):</strong> The BB84 protocol is one of the earliest and most well-known QKD protocols. It relies on the fundamental concept of the Heisenberg Uncertainty Principle, which states that measuring one property of a quantum system (e.g., the polarization of a photon) with high precision introduces uncertainty into the measurement of a complementary property (e.g., the conjugate polarization). In BB84, Alice sends quantum bits (qubits) to Bob, encoded using two different bases (e.g., rectilinear and diagonal). Bob measures the qubits using randomly chosen bases, introducing uncertainty into Eve’s potential eavesdropping attempts. Alice and Bob then compare a subset of their key bits to detect eavesdropping.</li></ul><p>The BB84 Quantum Key Distribution (QKD) protocol can be analyzed in two scenarios: one with no noise, often referred to as the noise-free scenario, and another where noise and errors are present in the quantum communication channel, requiring strategies to handle these issues.</p><ol><li>Noise-Free Scenario (Idealized BB84 Protocol):</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*UvHi5SGRoUIVbF8ChFqTnw.jpeg" /><figcaption>BB84 Protocol (Noise-free Version)</figcaption></figure><p>In the noise-free scenario, the BB84 protocol operates under the assumption that the quantum communication channel is perfect, and no errors or disturbances are introduced during the transmission of qubits. Here’s how the protocol works in this idealized scenario:</p><ul><li>Alice prepares qubits in two possible bases (rectilinear or diagonal) and sends them to Bob.</li><li>Bob randomly chooses measurement bases and measures the qubits.</li><li>After the measurement, Alice and Bob publicly announce their respective measurement bases for each qubit.</li><li>If they chose the same basis for a qubit, they keep the measurement outcome as part of their raw key.</li><li>Alice and Bob compare a subset of their raw key bits to estimate the error rate and ensure there was no eavesdropping.</li><li>If the error rate is sufficiently low, Alice and Bob apply privacy amplification to distill a shorter, more secure key from the raw key.</li></ul><p>In this noise-free scenario, the protocol is designed to work perfectly, assuming no external interference, measurement errors, or eavesdropping attempts. However, in practical implementations, there is always some level of noise and errors.</p><p>2. Handling Noise and Errors in BB84 Protocol:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*eGjfm42lPAGIpwOnYGSoYg.jpeg" /><figcaption>BB84 Protocol (Handling Noise)</figcaption></figure><p>In real-world implementations, the quantum communication channel is subject to noise, such as photon loss, detector inefficiencies, and environmental factors. The BB84 protocol can handle noise and errors through the following techniques:</p><ul><li>Error Correction Codes: Error correction codes, both classical and quantum, are applied to correct errors introduced during transmission. These codes help ensure that Alice and Bob obtain matching keys despite the presence of noise.</li><li>Error Estimation: Alice and Bob estimate the error rate by comparing their measurement outcomes for qubits with matching bases. A high error rate may indicate noise or eavesdropping.</li><li>Key Reconciliation: Key reconciliation techniques, such as Cascade or Winnow, are used to correct discrepancies in their raw keys caused by noise and errors. This step ensures that they obtain a matching shared key.</li><li>Privacy Amplification: Privacy amplification is used to distill a shorter, more secure key from the error-corrected shared key. This step reduces the information that could have been leaked to an eavesdropper due to noise.</li><li>Quantum Repeaters: In long-distance QKD scenarios, quantum repeaters may be used to mitigate noise, signal loss, and other issues that arise in quantum communication over extended distances.</li></ul><p>Handling noise and errors in the BB84 protocol is essential for practical implementations. These techniques make it possible to achieve secure key exchange even in the presence of noise and potential eavesdropping attempts, ensuring the protocol’s real-world applicability.</p><blockquote>The Jupyter QKD notebook of Qworld contains all the codes.</blockquote><h4>2- QKD Protocols Based on Quantum Entanglement:</h4><ul><li><strong>E91 Protocol (Ekert 1991)</strong>: The E91 protocol relies on the phenomenon of quantum entanglement, where two or more particles become correlated in such a way that the state of one particle instantaneously influences the state of the other(s), even when separated by large distances. In the E91 protocol, Alice and Bob each possess an entangled pair of particles. They randomly measure the properties of their particles in specific bases and use the measurement outcomes to generate a shared secret key. Any eavesdropping attempts would disrupt the entangled states, and the parties can detect this disruption.</li><li><strong>Bell Test Experiments: </strong>While not a direct QKD protocol, Bell test experiments are based on quantum entanglement and are used to verify the violation of Bell inequalities, which indicates the presence of quantum correlations. These experiments are used to test the non-local properties of entangled particles and can be applied in quantum cryptography to ensure the security of quantum channels.</li><li><strong>The CHSH inequality</strong>, named after its inventors Clauser, Horne, Shimony, and Holt, is a mathematical inequality derived from Bell’s theorem and is used in experiments to test the violation of classical local realism by quantum systems. It’s a more refined version of Bell inequalities and provides a stronger test for the conflict between the predictions of quantum mechanics and classical physics.</li></ul><blockquote><strong>Bell Inequality:</strong> The Bell Inequality is a mathematical expression derived from the work of physicist John Bell in the 1960s. It addresses the phenomenon of quantum entanglement and tests whether the predictions of quantum mechanics are consistent with classical physics. In essence, the Bell Inequality provides a criterion that, if violated, suggests that the correlations observed between entangled particles cannot be explained by classical physics. Violation of the Bell Inequality implies that quantum entanglement exists and that the quantum world behaves differently from classical physics.</blockquote><pre># John Clauser, Michael Horne, Abner Shimony and Richard Holt derived CHSH inequality, that can be used in the proof of Bell&#39;s theorem:<br>              𝑆 = 𝑍𝑊 + 𝑋𝑊 − 𝑋𝑉 + 𝑍𝑉 = (𝑍 + 𝑋)𝑊 + (𝑍 − 𝑋)𝑉</pre><h3>E91 Protocol:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*ip2kt-7EDT_EE3UZR6Awug.jpeg" /><figcaption>E91 Protocol.</figcaption></figure><p>Step 1: Distributing Quantum States</p><ul><li>Alice prepares 200 EPR pairs.</li><li>Alice keeps one qubit of the EPR pair and sends the second to Bob.</li><li>Alice randomly chooses a measurement basis (𝑍, 𝑋, or 𝑊) and measures the first qubit (qreg[0]).</li><li>Alice saves information about the measurement basis that she used for each qubit.</li><li>Bob randomly chooses a measurement basis (𝑍, 𝑊, or 𝑉) and measures the second qubit (qreg[1]).</li><li>Bob saves information about the measurement basis that he used for each qubit.</li></ul><p><em>Here’s a Python code of how to implement step 1 using the Qiskit framework:</em></p><pre># import all necessary objects and methods for quantum circuits<br>from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit, execute, Aer<br>from random import randrange<br><br># Registers for measurement bases and keys<br>basesAlice, keyAlice = [], []<br>basesBob, keyBob = [], []<br><br>for i in range(200):  # Alice prepares 200 EPR pairs<br>    qreg = QuantumRegister(2)<br>    creg = ClassicalRegister(2)<br>    mycircuit = QuantumCircuit(qreg, creg)<br><br>    # Creating entanglement<br>    mycircuit.h(qreg[0])<br>    mycircuit.cx(qreg[0], qreg[1])<br><br>    # Alice chooses a measurement basis<br>    choiceAlice = randrange(3)<br>    if choiceAlice == 0:  # measurement in Z basis<br>        basesAlice.append(&#39;Z&#39;)<br>    if choiceAlice == 1:  # measurement in X basis<br>        mycircuit.h(qreg[0])<br>        basesAlice.append(&#39;X&#39;)<br>    if choiceAlice == 2:  # measurement in W basis<br>        mycircuit.s(qreg[0])<br>        mycircuit.h(qreg[0])<br>        mycircuit.t(qreg[0])<br>        mycircuit.h(qreg[0])<br>        basesAlice.append(&#39;W&#39;)<br><br>    # Bob chooses a measurement basis<br>    choiceBob = randrange(3)<br>    if choiceBob == 0:  # measurement in Z basis<br>        basesBob.append(&#39;Z&#39;)<br>    if choiceBob == 1:  # measurement in W basis<br>        mycircuit.s(qreg[1])<br>        mycircuit.h(qreg[1])<br>        mycircuit.t(qreg[1])<br>        mycircuit.h(qreg[1])<br>        basesBob.append(&#39;W&#39;)<br>    if choiceBob == 2:  # measurement in V basis<br>        mycircuit.s(qreg[1])<br>        mycircuit.h(qreg[1])<br>        mycircuit.tdg(qreg[1])<br>        mycircuit.h(qreg[1])<br>        basesBob.append(&#39;V&#39;)<br><br>    mycircuit.measure(qreg, creg)  # applying the final measurement<br>    job = execute(mycircuit, Aer.get_backend(&#39;qasm_simulator&#39;), shots=1)<br>    counts = job.result().get_counts(mycircuit)<br><br>    # Saving results<br>    result = list(counts.keys())[0]  # retrieve key from dictionary<br>    keyAlice.append(int(result[0]))  # saving the first qubit value in Alice&#39;s key register<br>    keyBob.append(int(result[1]))  # and the second to Bob</pre><p>Step 2: Sifting</p><ul><li>Alice and Bob compare bases.</li><li>If they used the same measurement bases, they save the corresponding bits to their final key strings.</li><li>If bases mismatch, they keep corresponding bits and information about the basis they used in separate registers.</li></ul><p><em>Here’s a Python code of how to implement step 2using the Qiskit framework:</em></p><pre># Registers<br>finalKeyAlice, finalKeyBob = [], []  # for matching rounds<br>diffAlice, diffBob = [], []  # mismatched rounds<br>diffBasesAlice, diffBasesBob = [], []  # bases of mismatched rounds<br><br>for i in range(0, len(basesAlice)):<br>    if basesAlice[i] == basesBob[i]:  # When used the same bases<br>        finalKeyAlice.append(keyAlice[i])<br>        finalKeyBob.append(keyBob[i])<br>    else:  # When used different bases<br>        diffAlice.append(keyAlice[i])<br>        diffBob.append(keyBob[i])<br>        diffBasesAlice.append(basesAlice[i])<br>        diffBasesBob.append(basesBob[i])</pre><p>Step 3: QBER — CHSH Violation Test</p><ul><li>Alice and Bob calculate the CHSH (Clauser-Horne-Shimony-Holt) inequality value to check for violations and potential eavesdropping.</li></ul><p><em>Here’s a Python code of how to implement step 3using the Qiskit framework:</em></p><pre># ZW<br>sameZW = 0<br>diffZW = 0<br>for i, (bA, bB) in enumerate(zip(diffBasesAlice, diffBasesBob)):<br>    if (bA == &#39;Z&#39; and bB == &#39;W&#39;):<br>        if diffAlice[i] == diffBob[i]:<br>            sameZW = sameZW + 1<br>        else:<br>            diffZW = diffZW + 1<br><br>totalZW = sameZW + diffZW<br>if totalZW != 0:<br>    ZW = (sameZW - diffZW) / totalZW<br>else:<br>    ZW = 0<br><br># XW<br>sameXW = 0<br>diffXW = 0<br>for i, (bA, bB) in enumerate(zip(diffBasesAlice, diffBasesBob)):<br>    if (bA == &#39;X&#39; and bB == &#39;W&#39;):<br>        if diffAlice[i] == diffBob[i]:<br>            sameXW = sameXW + 1<br>        else:<br>            diffXW = diffXW + 1<br><br>totalXW = sameXW + diffXW<br>if totalXW != 0:<br>    XW = (sameXW - diffXW) / totalXW<br>else:<br>    XW = 0<br><br># XV<br>sameXV = 0<br>diffXV = 0<br>for i, (bA, bB) in enumerate(zip(diffBasesAlice, diffBasesBob)):<br>    if (bA == &#39;X&#39; and bB == &#39;V&#39;):<br>        if diffAlice[i] == diffBob[i]:<br>            sameXV = sameXV + 1<br>        else:<br>            diffXV = diffXV + 1<br><br>totalXV = sameXV + diffXV<br>if totalXV != 0:<br>    XV = (sameXV - diffXV) / totalXV<br>else:<br>    XV = 0<br><br># ZV<br>sameZV = 0<br>diffZV = 0<br>for i, (bA, bB) in enumerate(zip(diffBasesAlice, diffBasesBob)):<br>    if (bA == &#39;Z&#39; and bB == &#39;V&#39;):<br>        if diffAlice[i] == diffBob[i]:<br>            sameZV = sameZV + 1<br>        else:<br>            diffZV = diffZV + 1<br><br>totalZV = sameZV + diffZV<br>if totalZV != 0:<br>    ZV = (sameZV - diffZV) / totalZV<br>else:<br>    ZV = 0<br><br>S = ZW + XW - XV + ZV<br><br>print(&quot;CHSH inequality value is&quot;, S)</pre><p>The E91 Protocol’s security is based on the principles of quantum entanglement. Any eavesdropping attempts that disrupt the entangled states or tamper with the measurement outcomes can be detected during the protocol. This makes the E91 Protocol a powerful tool for secure key exchange in quantum communication.</p><h3>Applications of Quantum Cryptography:</h3><p>Quantum Cryptography has the potential to revolutionize the way we communicate by providing a secure communication channel that is immune to cyber-attacks. Some of the applications of Quantum Cryptography include:</p><ul><li><strong>Financial transactions:</strong> Quantum Cryptography can provide a secure communication channel for financial transactions, making it impossible for cybercriminals to intercept and steal sensitive financial information.</li><li><strong>Military and government communication:</strong> Quantum Cryptography can be used by military and government agencies to securely communicate sensitive information without the fear of interception.</li><li><strong>Healthcare:</strong> Quantum Cryptography can be used to secure healthcare data, including patient records and medical research.</li><li><strong>Internet of Things (IoT):</strong> Quantum Cryptography can be used to secure the communication channels of IoT devices, which are vulnerable to cyber-attacks due to their low computing power.</li></ul><h3>Challenges of Quantum Cryptography:</h3><p>While Quantum Cryptography is a promising technology, it is not without its challenges. Some of the challenges include:</p><ol><li><strong>Cost: </strong>Quantum Cryptography is an expensive technology that requires specialized equipment and infrastructure, making it difficult to implement on a large scale.</li><li><strong>Distance limitations:</strong> The distance between the two parties is limited by the attenuation of the photons during transmission, which can affect the quality of the communication channel.</li><li><strong>Practical implementation:</strong> The implementation of Quantum Cryptography in real-world scenarios is still in its early stages, and there is a need for more research and development to make it more practical and scalable.</li></ol><blockquote>References:</blockquote><p>(1)<a href="https://www.geeksforgeeks.org/quantum-cryptography/?ref=rp">Quantum Cryptography — GeeksforGeeks</a></p><p><a href="https://www.youtube.com/@womanium">(2) WOMANIUM — YouTube</a></p><p><a href="https://www.youtube.com/@QWorld19">(3) QWorld — YouTube</a></p><p>Next: Quantum Error Correction</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7666e9638b36" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Quantum Computing & Programming”]]></title>
            <link>https://medium.com/@amanimimoun/quantum-computing-programming-1b823e183761?source=rss-6815583d5bc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b823e183761</guid>
            <category><![CDATA[qworld]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[entanglement]]></category>
            <category><![CDATA[superposition]]></category>
            <category><![CDATA[womanium]]></category>
            <dc:creator><![CDATA[Amani Mimoun]]></dc:creator>
            <pubDate>Fri, 01 Sep 2023 03:25:07 GMT</pubDate>
            <atom:updated>2023-09-02T12:58:08.774Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>The Global Quantum Project _WOMANIUM 2023</em></blockquote><p><em>“Everything mentioned bellow has been covered in the WOMANIUM QUANTUM program, specifically in the QNickel and QBronze modules.”</em></p><h3>1/- Why Quantum Computers?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i7PtMPOCoS67mgZ8KPAoBA.png" /><figcaption>Differences between classical and quantum computers</figcaption></figure><p>Classical computers, despite their immense power and widespread use, have inherent limitations that impact their performance in certain tasks. One of the fundamental constraints is their reliance on binary bits, which can only represent either a 0 or a 1 at any given time. This binary nature restricts their ability to efficiently process and analyze complex data patterns, especially when dealing with massive datasets or intricate calculations.</p><p>Furthermore, classical computers execute algorithms sequentially, meaning they tackle one task at a time. This linear approach can lead to bottlenecks and inefficiencies in processing tasks that require parallelism, such as simulations, data mining, or optimization problems.</p><p>Classical computers also face challenges in solving complex problems that involve exponential time complexity. For instance, cryptography relies on the difficulty of factoring large numbers into their prime components. Classical computers can struggle to efficiently perform these operations, making certain encryption methods vulnerable to advances in computing power.</p><p>Additionally, as classical computer components continue to shrink in size, they approach physical limits dictated by quantum effects. This can result in heat generation and other technical challenges that hinder further miniaturization and speed improvements.</p><p>In contrast, quantum computers have the potential to overcome some of these limitations due to their ability to process information in quantum bits (qubits), which can exist in a superposition of states. This property enables quantum computers to perform multiple calculations simultaneously, promising exponential speedup in certain algorithms and problem-solving tasks. However, quantum computers are not without their own set of challenges, including qubit stability, error correction, and maintaining quantum coherence.</p><h3>2/- Exploring Entanglement and Superposition in Quantum Mechanics:</h3><p>Entanglement and superposition are two of the most intriguing and distinctive phenomena in the realm of quantum mechanics. These concepts fundamentally challenge classical intuition and play a crucial role in the behavior of quantum systems. This article delves into the concepts of entanglement and superposition, their significance, and their implications in the world of quantum physics.</p><ul><li><strong><em>Superposition:</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EDXS1hgslAbPdZm0_JZKWg.jpeg" /><figcaption>Superposition</figcaption></figure><p>Superposition is a fundamental principle that allows quantum systems to exist in multiple states simultaneously. In classical physics, an object is in a definite state, but in quantum mechanics, a particle can exist in a linear combination of different states. For instance, a qubit in a superposition of |0⟩ and |1⟩ states simultaneously can be represented as <strong>α|0⟩ + β|1⟩</strong>, where α and β are probability amplitudes.</p><ul><li><strong><em>Significance of Superposition:</em></strong></li></ul><p>Superposition lies at the heart of quantum computing’s power. Quantum algorithms can process information in parallel due to the qubits’ ability to be in multiple states at once. Algorithms like Grover’s search and Shor’s factoring algorithm exploit superposition to perform certain tasks more efficiently than classical counterparts. Superposition also gives rise to interference, where the probability amplitudes can cancel or reinforce each other, leading to unique outcomes in measurements.</p><ul><li><strong><em>Entanglement:</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A0Zy5jJrgsQpoTDV7xk4QQ.jpeg" /><figcaption>Quantum entanglement is when two particles link together in a certain way no matter how far apart they are in space. Their state remains the same.</figcaption></figure><p>Entanglement is a phenomenon where the quantum states of two or more particles become correlated in such a way that the state of one particle cannot be described independently of the other(s). Even if the entangled particles are spatially separated, measuring the state of one particle instantly determines the state of the other particle, regardless of distance.</p><ul><li><strong><em>Significance of Entanglement:</em></strong></li></ul><p>Entanglement has profound implications, often described as “spooky action at a distance.” It challenges our classical notion of causality and suggests a deep connection between particles beyond what classical physics predicts. Entanglement is a key resource in quantum information processing, forming the basis of quantum teleportation, quantum cryptography, and quantum key distribution. It’s also a cornerstone in quantum mechanics’ non-locality, indicating the interrelated nature of particles.</p><ul><li><strong><em>Applications and Challenges:</em></strong></li></ul><p>Entanglement and superposition are harnessed for various applications, including quantum algorithms, quantum simulations, and secure communication. However, they also present challenges in maintaining quantum coherence and avoiding decoherence due to interactions with the environment. This necessitates advanced techniques for error correction and noise reduction in quantum systems.</p><ul><li><strong><em>Teleportation: Harnessing Entanglement and Superposition for Quantum Information Transfer:</em></strong></li></ul><p>Quantum teleportation is a protocol that allows the transfer of quantum information from one qubit to another using entanglement and classical communication. It was proposed by Charles Bennett, Gilles Brassard, Claude Crépeau, Richard Jozsa, Asher Peres, and William Wootters in 1993. The process does not transmit the qubit itself but rather transfers the quantum state from the source qubit to the target qubit.</p><p>The protocol requires three qubits:</p><ol><li>The qubit to be teleported (Alice’s qubit)</li><li>One half of an entangled pair of qubits (Alice’s second qubit)</li><li>The other half of the entangled pair (Bob’s qubit )</li></ol><ul><li><strong><em>The Role of Entanglement: </em></strong>Entanglement is central to the success of quantum teleportation. Alice prepares a joint entangled state of her particle and Charlie’s particle. This entanglement allows information about Alice’s particle to be instantly conveyed to Bob’s particle, even though they may be light-years apart. Remarkably, the entanglement between Charlie and Bob ensures that Bob’s particle assumes the state of Alice’s particle, effectively “teleporting” the quantum information.</li><li><strong><em>Superposition and Measurement:</em></strong> Superposition also plays a vital role in the process. Alice prepares her particle in a superposition of states, entangles it with Charlie’s particle, and performs a joint measurement on both particles. The measurement outcomes, which are classical information, are then communicated to Bob. By using this classical information along with the entangled state of Bob and Charlie, Bob can transform his particle into the exact quantum state of Alice’s particle.</li></ul><p>Here’s a Python code example that demonstrates quantum teleportation using the Qiskit framework:</p><pre># 1- generate an entangled Bell pair. Qubit 𝑎 is allocated to Alice, while qubit 𝑏 is designated for Bob.<br>from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister<br>from qiskit.circuit import Qubit, Clbit<br><br><br>def create_bell_pair(qr: QuantumRegister, cr: ClassicalRegister) -&gt; QuantumCircuit:<br>    &quot;&quot;&quot;Creates a bell pair between qubits a and b.&quot;&quot;&quot;<br>    qc = QuantumCircuit(qr, cr)<br>    # unpack qubits<br>    # the first qubit is s but we won&#39;t be using it in this exercise<br>    s, a, b = qr<br><br>    # Put qubit a into state |+&gt;<br>    qc.h(a)<br>    # CNOT with a as control and b as target<br>    qc.cx(a, b)<br><br>    return qc<br><br>qr = QuantumRegister(3, name=&quot;q&quot;)<br>cr = ClassicalRegister(3, name=&quot;c&quot;)<br>qc = create_bell_pair(qr, cr)</pre><pre># 2- Alice applies a CNOT gate to qubit  𝑎, with 𝑠 (the qubit containing  |𝜓⟩, the state she intends to send to Bob) as the control. Following this, Alice applies a Hadamard gate to 𝑠.<br>def alice_gates(qr: QuantumRegister, cr: ClassicalRegister):<br>    &quot;&quot;&quot;Creates Alices&#39;s gates&quot;&quot;&quot;<br>    qc = create_bell_pair(qr, cr)<br>    qc.barrier()  # Use barrier to separate steps<br>    s, a, b = qr<br><br>    # CNOT with source as control and a as target<br>    qc.cx(s, a)<br>    # Apply Hadamard on qubit s<br>    qc.h(s)<br><br>    return qc <br><br>qc = alice_gates(qr, cr)</pre><pre># 3- Alice performs a measurement on both qubits in her possession and saves the results in two classical bits. Afterward, she sends these two bits to Bob. She will measure qubit  𝑎into classical bit  𝑐0 and qubit  𝑠 into classical bit  𝑐1.<br>def measure_and_send(qr: QuantumRegister, cr: ClassicalRegister):<br>    &quot;&quot;&quot;Measures qubits a &amp; b and &#39;sends&#39; the results to Bob&quot;&quot;&quot;<br>    qc = alice_gates(qr, cr)<br>    qc.barrier()  # Use barrier to separate steps<br>    s, a, b = qr<br>    c0, c1, c2 = cr<br><br>    # Measure qubit a into classical bit 0<br>    qc.measure(a, c0)<br>    # Measure qubit s into classical bit 1<br>    qc.measure(s, c1)<br><br>    return qc<br><br>qc = measure_and_send(qr, cr)</pre><p>In this step, Bob, who is already in possession of qubit 𝑏, dynamically adds specific gates to the circuit based on the state of the classical bits received from Alice:</p><p>If the bits are 00, no action is required. If they are 01, an 𝑋 gate (also known as a Pauli-X or a bit-flip gate) should be applied. For bits 10, a 𝑍 gate (also known as a Pauli-Z or a phase-flip gate) should be applied. Lastly, if the classical bits are 11, a combined 𝑍𝑋 gate should be applied, which involves applying both the 𝑍 and 𝑋 gates in sequence. Please note that this information transfer occurs solely through classical means.</p><pre># This function takes a QuantumCircuit (qc), integer (qubit)<br># and ClassicalRegisters (crz &amp; crx) to decide which gates to apply<br>def bob_gates(qr: QuantumRegister, cr: ClassicalRegister):<br>    &quot;&quot;&quot;Uses qc.if_test to control which gates are dynamically added&quot;&quot;&quot;<br>    qc = measure_and_send(qr, cr)<br>    qc.barrier()  # Use barrier to separate steps<br>    s, a, b = qr<br>    c0, c1, c2 = cr<br><br>    # Add an X gate to the qubit wire if c0 measures 1<br>    with qc.if_test((c0, 1)):<br>        qc.x(b)<br>    # Add a Z gate to the qubit wire if c1 measures 1<br>    with qc.if_test((c1, 1)):<br>        qc.z(b)<br><br>    return qc<br><br>qc = bob_gates(qr, cr)</pre><pre>#  Bob measure his qubit into classical bit  𝑐2. After repeating the entire experiment multiple times, we can gather statistics on the measurement results to confirm that the teleportation worked correctly.<br>teleportation_circuit = bob_gates(qr, cr)<br>s, a, b = qr<br>c0, c1, c2 = cr<br>teleportation_circuit.measure(b, c2)<br>teleportation_circuit.draw(&quot;mpl&quot;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*JUjzpy-Qs1sjKHn5TVR8Hg.png" /></figure><h3>3/- Quantum Gates:</h3><p>Quantum gates are analogous to classical logic gates but operate on qubits, which can exist in superpositions of states. Quantum gates are represented by unitary matrices that describe their effects on qubits. These gates transform the quantum state of qubits, allowing for quantum operations such as entanglement, superposition, and interference.</p><p>One of the defining features of quantum gates is their unitarity, which ensures reversibility. A unitary matrix is a square matrix whose conjugate transpose (also known as the adjoint) is its inverse. This property guarantees that quantum gates are reversible, meaning that if a quantum state is transformed by a gate, the original state can be recovered by applying the inverse of that gate. This reversibility is essential in maintaining the integrity of quantum information and enables the exploitation of quantum superposition and entanglement for computational advantage.</p><p><strong><em>Common Quantum Gates:</em></strong></p><ul><li>Pauli-X Gate: Also known as the bit-flip gate, it flips the probability amplitudes of the |0⟩ and |1⟩ states.</li><li>Pauli-Y Gate: It is a combination of a bit-flip and a phase-flip gate, introducing a complex phase.</li><li>Pauli-Z Gate: It introduces a phase flip to the |1⟩ state.</li><li>Hadamard Gate: Creates superposition by evenly distributing probability amplitudes between |0⟩ and |1⟩ states.</li><li>Phase Gates (S and T): Introduce specific phase shifts to qubits.</li><li>CNOT Gate: A two-qubit gate that entangles qubits and is fundamental for building quantum circuits.</li></ul><p>Here’s a Python code example of how to implement quantum gates using the Qiskit framework:</p><pre>from qiskit import QuantumCircuit<br><br># Create a quantum circuit with 1 qubit<br>qc = QuantumCircuit(1)<br><br># Apply quantum gates<br>qc.x(0)  # Pauli-X gate (bit-flip gate)<br>qc.y(0)  # Pauli-Y gate<br>qc.z(0)  # Pauli-Z gate<br>qc.h(0)  # Hadamard gate<br>qc.s(0)  # S gate (π/4 phase gate)<br>qc.t(0)  # T gate (π/8 phase gate)<br>qc.rx(np.pi/2, 0)  # Rotation around the x-axis<br><br># Draw the circuit<br>qc.draw(&#39;mpl&#39;)<br></pre><p>Quantum gates are the foundation of quantum algorithms and protocols. They enable the implementation of quantum versions of classical algorithms like the Deutsch-Jozsa algorithm and Shor’s algorithm for factoring large numbers. Quantum gates are also integral in quantum error correction codes, quantum simulations, and cryptographic applications.</p><h3>4/- Quantum Algorithms: Unlocking the Power of Quantum Computing</h3><p>Quantum computing has brought forth a paradigm shift in the way we approach complex problems by leveraging the principles of quantum mechanics. At the forefront of this revolution are quantum algorithms, which exploit the unique properties of quantum systems to solve problems faster than classical counterparts. In this we delve into four influential quantum algorithms — Deutsch, Deutsch-Jozsa, Bernstein-Vazirani, Simon’s, and Grover — illustrating their significance, mechanisms, and potential applications.</p><ul><li><strong><em>Deutsch Algorithm:</em></strong></li></ul><p>The Deutsch algorithm was the first quantum algorithm discovered, showcasing quantum parallelism. It determines whether a two-bit Boolean function is balanced (outputs 0 for half inputs, 1 for the other half) or constant (outputs 0 or 1 for all inputs). Unlike classical algorithms that require two queries, the Deutsch algorithm achieves this in a single quantum query, exemplifying quantum speedup.</p><pre>Deutsch&#39;s problem:  Input: f ∶ Σ → Σ <br>                    Output: 0 if f is constant, 1 if f is balance</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*AttsyUZAZl-G1vqrM85UBA.png" /><figcaption>Deutsch circuit</figcaption></figure><ul><li><strong><em>Deutsch-Jozsa Algorithm:</em></strong></li></ul><p>An extension of the Deutsch algorithm, Deutsch-Jozsa solves a more general problem: determining if a given n-bit Boolean function is balanced or constant. This algorithm retains its quantum supremacy by solving the problem with only one quantum query, regardless of the function’s size. Deutsch-Jozsa outperforms classical algorithms that require O(2^n) queries.</p><pre>Deutsch-Jozsa problem:<br>Input: f ∶ Σ^n → Σ<br>Promise: f is either constant or balanced<br>Output: 0 if f is constant, 1 if f is balanced</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*A5DLB3efky2rhwWBHVk3tw.png" /><figcaption>the Deutsch-Jozsa circuit</figcaption></figure><ul><li><strong><em>Bernstein-Vazirani Algorithm:</em></strong></li></ul><p>The Bernstein-Vazirani algorithm tackles the problem of finding a hidden n-bit string (oracle) using quantum parallelism. Given that the oracle implements a linear Boolean function, the algorithm uncovers the hidden string using a single quantum query. In comparison, classical approaches require n queries. This algorithm’s efficiency lies in its ability to extract all n bits simultaneously through superposition and entanglement.</p><pre>Bernstein-Vazirani problem<br>Input: f ∶ Σ^n → Σ<br>Promise: there exists a binary string s = s_{n−1}⋯s_0 for which<br>f(x) = s ⋅ x for all x ∈ Σ^n<br>Output: the string s</pre><p>The Deutsch-Jozsa circuit therefore solves the Bernstein-Vazirani problem with a single query.</p><ul><li><strong><em>Simon’s Algorithm:</em></strong></li></ul><p>Simon’s algorithm is designed to solve problems in the field of cryptography, specifically finding the period of a black-box Boolean function. With only O(n) queries, it unveils hidden patterns efficiently. The algorithm capitalizes on quantum parallelism and interference, providing a quadratic speedup compared to classical counterparts, which require O(2^n) queries.</p><pre>Simon’s problem:<br>Input: A function f ∶ Σ^n → Σ^m<br>Promise: There exists a string s ∈ Σ^n<br>such that [f(x) = f(y)] ⇔ [(x = y) or (x ⊕ s = y)] for all x, y ∈ Σ^n<br>Output: The string s</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*rSrgHaSUgVVMjZuEF0VApg.png" /><figcaption>Simon’s circuit</figcaption></figure><ul><li><strong><em>Grover Algorithm:</em></strong></li></ul><p>The Grover algorithm addresses the unstructured search problem, finding a specific item among an unsorted database. It achieves a quadratic speedup compared to classical algorithms. By iteratively amplifying the probability amplitude of the correct solution, Grover’s algorithm identifies the target item with only √N queries, in contrast to the N queries required classically.</p><h3>Significance and Applications:</h3><p>These quantum algorithms transcend theoretical concepts, with potential applications in cryptography, optimization, database searching, and more. Deutsch-Jozsa’s efficiency can impact cryptanalysis. Simon’s algorithm aids in breaking cryptographic functions. Grover’s algorithm can revolutionize database searches and optimization problems. As quantum hardware advances, these algorithms stand to reshape industries and accelerate scientific discoveries.</p><p><a href="https://www.youtube.com/@womanium">(1) WOMANIUM — YouTube</a></p><p><a href="https://www.youtube.com/@QWorld19">(2) QWorld — YouTube</a></p><p>Next: Quantum Key Distribution</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b823e183761" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Navigating Quantum Horizons: Unveiling the Journey of WOMANIUM QUANTUM 2023”]]></title>
            <link>https://medium.com/@amanimimoun/navigating-quantum-horizons-unveiling-the-journey-of-womanium-quantum-2023-850e6422f4cb?source=rss-6815583d5bc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/850e6422f4cb</guid>
            <category><![CDATA[quantum-sensing]]></category>
            <category><![CDATA[womanium]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <dc:creator><![CDATA[Amani Mimoun]]></dc:creator>
            <pubDate>Fri, 01 Sep 2023 01:02:29 GMT</pubDate>
            <atom:updated>2023-09-19T00:10:27.010Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w4W1mwIar91ITv7_R8zB-w.jpeg" /><figcaption>Womanium Global Quantum Program 2023. Credits: Womanium</figcaption></figure><p>As the WOMANIUM QUANTUM 2023 program comes to a close, I find myself reflecting on the incredible journey I’ve been privileged to undertake this summer. I want to express my heartfelt gratitude to the organizers for curating such an exceptional and unparalleled scientific endeavor. The program has truly been a remarkable exploration into the convergence of quantum realms, covering Quantum Computing, Sensing, and Communication. The program spanned from July 2 to 28 on weekdays and August 5 to 26 on Saturdays, with daily sessions starting at 10:30am and concluding at 1:30pm US Eastern Time.</p><p>The meticulously structured modules commenced with optional preparatory components, offering participants a solid foundation. One track delved into the Basics of Quantum and Quantum Computing, culminating in a QBronze certificate through QWorld, while the alternative path, Quantum Odyssey, offered a gamified introduction to Quantum Computing.</p><p>The core modules of The Womanium Quantum Program 2023 featured a detailed exploration of Quantum Computing and Programming through QWorld’s QNickel segment, along with an insightful dive into Quantum Key Distribution facilitated by QMercury. The Quantum Sensing module navigated the innovative frontiers of quantum sensing technologies, effectively blending theoretical insights with real-world applications. The program also covered Quantum Computing Software, supplemented by Industry Bootcamps, providing participants with hands-on experience in real-world contexts. The engagement continued through Quantum Computing Hardware sessions, synergized with Virtual Lab Tours that shed light on the intricate architectures of quantum hardware setups.</p><p>The program underscored the significance of Quantum Error Correction as a pivotal enabler of reliable quantum systems. A highlight of the program was undoubtedly the Womanium Global Quantum Leadership Project, a collaborative endeavor that exemplified the program’s visionary commitment to driving quantum advancements on a global scale. The WOMANIUM QUANTUM 2023 experience has undeniably left an indelible mark, broadening horizons and igniting an enduring passion for the fascinating domain of quantum science.</p><p>At the end the program entails an extensive offering of certificates based on module completion. These certificates symbolize our depth of understanding and engagement within specific domains of quantum technology. These certificates are among those I have completed and received.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5XweZ3iygkp_yCfU0b_yg.png" /><figcaption>QUANTUM COMPUTINGHARDWARE CERTIFICATE || Womanium Global Quantum Program</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TMX79G6FyJcifqgzByhzhw.jpeg" /><figcaption>QMercury diploma || Womanium Global Quantum Program || QWorld</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jZZJO9treggV70iQOmPXoQ.jpeg" /><figcaption>QNickel diploma || Womanium Global Quantum Program || QWorld</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kev1Dy15VgueQiWfGAo5_w.jpeg" /><figcaption>QuEra diploma || the Womanium Global Quantum Program || QuEra Computing Inc</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a9AymCPS0l1bjZU1ZSxYOg.jpeg" /><figcaption>QZinc1 Diploma || Womanium Global Quantum Program || QWorld</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aaEsgwhbKuoHqTceLDoO0w.png" /><figcaption>WOMANIUM QUANTUM SOFTWARE CERTIFICATE</figcaption></figure><p><a href="https://www.youtube.com/watch?v=o09K6yChmVo&amp;list=PL_wGNAk5B0pUVk2G7VvjHWA-P_uorDB7X&amp;index=3">(1) WOMANIUM QUANTUM 2023: DAY 1 ❯ LAUNCH — YouTube</a></p><p>You can find the YouTube channel, website, and LinkedIn page through the following links:</p><p>YouTube Channel: <a href="https://www.youtube.com/@womanium">WOMANIUM — YouTube</a></p><p>Website: <a href="https://womanium.org/Quantum/Program">[ Womanium | Quantum ]</a></p><p>LinkedIn Page: <a href="https://www.linkedin.com/company/womanium/">WOMANIUM: Overview | LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=850e6422f4cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I am deeply grateful to WOMANUIM for giving me the Global Quantum Scholarship certification.]]></title>
            <link>https://medium.com/@amanimimoun/i-am-deeply-grateful-to-womanuim-for-giving-me-the-global-quantum-scholarship-certification-87732e1a9596?source=rss-6815583d5bc7------2</link>
            <guid isPermaLink="false">https://medium.com/p/87732e1a9596</guid>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[quantum-sensing]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Amani Mimoun]]></dc:creator>
            <pubDate>Thu, 20 Jul 2023 13:29:28 GMT</pubDate>
            <atom:updated>2023-09-01T00:11:15.191Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D6zXZtkapQQWVsReVCIhAw.png" /></figure><p>I am deeply grateful to WOMANUIM for giving me the Global Quantum Scholarship certification. Embarking on the Global Quantum Projects is an exhilarating prospect, and I’m particularly excited about my choice to engage in the “Online Quantum Media Project.” By leveraging the Medium platform, I intend to delve into the fascinating realm of Quantum Computation, unraveling its intricate concepts, breakthroughs, and potential implications. This endeavor offers a remarkable opportunity to blend my passion for quantum technologies with the art of effective communication. Through my Medium posts, I aim to disseminate comprehensible insights into the world of Quantum Computation, bridging the gap between complex theories and a broader audience eager to grasp this cutting-edge field. As I embark on this journey, I anticipate a rewarding experience of knowledge sharing, engaging discussions, and contributing to the broader conversation surrounding quantum advancements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87732e1a9596" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>