<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Communication | Q C I G</title><link>https://quantum-club-iitj.netlify.app/tag/communication/</link><atom:link href="https://quantum-club-iitj.netlify.app/tag/communication/index.xml" rel="self" type="application/rss+xml"/><description>Communication</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><image><url>https://quantum-club-iitj.netlify.app/media/icon_huad098a255693ecee937e63388053549e_18212_512x512_fill_lanczos_center_3.png</url><title>Communication</title><link>https://quantum-club-iitj.netlify.app/tag/communication/</link></image><item><title>Benchmarking and Solving Vehicle routing problem on various Quantum Computing (QPU's)</title><link>https://quantum-club-iitj.netlify.app/project/benchmarking-and-solving-vehicle-routing-problem-on-various-qpus/</link><pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate><guid>https://quantum-club-iitj.netlify.app/project/benchmarking-and-solving-vehicle-routing-problem-on-various-qpus/</guid><description>&lt;!DOCTYPE html>
&lt;html>
&lt;head>
&lt;link rel="stylesheet" type="text/css" href="styles.css">
&lt;/head>
&lt;body>
&lt;h1 id="contents">Contents&lt;/h1>
&lt;nav>
&lt;ul>
&lt;li>&lt;a href="#section1">Vehicle Routing Problem&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section2">The overall workflow we demonstrate comprises:&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section3">The project procedure can be summarized as follows:&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section4">Conclusion&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section5">Variational Quantum EigenSolver (VQE)&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section6">Quantum Approximate Optimization Algorithm (QAOA)&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section7">Results&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section8">Solving VRP using Quantum Annealing technique&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section9">Resources&lt;/a>&lt;/li>
&lt;/ul>
&lt;/nav>
&lt;section id="section1">
&lt;h2>Vehicle Routing Problem&lt;/h2>
&lt;p>
&lt;p>The Vehicle routing problem (VRP) is an NP-hard optimization problem that has been an interest of research fordecades in science and industry. The gist of the project is to plan routes of vehicles to deliver goods to a fixed number of customers with optimal efficiency. Classical tools and methods provide good approximations to reach the optimal global solution. Quantum computing and quantum machine learning provide a new approach to solving combinatorial optimization of problems faster due to inherent speedups of quantum effects. Many solutions of VRP are offered across different quantum computing platforms using hybrid algorithms such as quantum approximate optimization algorithm and quadratic unconstrained binary optimization. In this work, we build a basic VRP solver for 3 and 4 cities using the &lt;strong>variational quantum eigensolver&lt;/strong> on a &lt;em>fixed ansatz&lt;/em>. The Project work is further extended to evaluate the robustness of the solution in several examples of noisy quantum channels. The performance of the quantum algorithm depends heavily on what noise model is used. In general, noise is detrimental, but not equally so among different noise sources.&lt;/p>
&lt;/p>
&lt;/section>
&lt;p>
&lt;figure >
&lt;div class="d-flex justify-content-center">
&lt;div class="w-100" >&lt;img alt=""
src="https://quantum-club-iitj.netlify.app/project/benchmarking-and-solving-vehicle-routing-problem-on-various-qpus/vehicle.gif"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;/p>
&lt;section id="section2">
&lt;h2>The overall workflow we demonstrate comprises:&lt;/h2>
&lt;p>
&lt;ol>
&lt;li>Establish the client locations. Normally, these would be available ahead of the day of deliveries from a database. In our use case, we generate these randomly.&lt;/li>
&lt;li>compute the pair-wise distances, travel times, or similar. In our case, we consider the Euclidean distance, “as the crow flies”, which is perhaps the simplest possible.&lt;/li>
&lt;li>compute the actual routes. This step is run twice, actually. First, we obtain a reference value by a run of a classical solver &lt;code>(IBM CPLEX)&lt;/code> on the classical computer. Second, we run an alternative, hybrid algorithm partly on the quantum computer.&lt;/li>
&lt;li>visualization of the results. In our case, this is again a simplistic plot.&lt;/li>
&lt;li>In the following, we first explain the model, before we proceed with the installation of the pre-requisites and the data loading.&lt;/li>
&lt;/ol>
&lt;/p>
&lt;/section>
&lt;section id="section3">
&lt;h2>The project procedure can be summarized as follows:&lt;/h2>
&lt;p>
&lt;ol>
&lt;li>Initialization *Install pip install qiskit-optimization&lt;code>[cplex]&lt;/code>&lt;/li>
&lt;li>initializer class that randomly places the nodes in a 2-D plane and computes the distance between them.&lt;/li>
&lt;li>Classical solution using &lt;code>IBM ILOG CPLEX&lt;/code>&lt;/li>
&lt;li>Instantiate the classical optimizer class&lt;/li>
&lt;li>Solve the problem in a classical fashion via &lt;code>CPLEX&lt;/code>&lt;/li>
&lt;li>Visualize the solution&lt;/li>
&lt;li>Quantum solution from the ground up&lt;/li>
&lt;li>Instantiate the quantum optimizer class with parameters&lt;/li>
&lt;li>Check if the binary representation is correct&lt;/li>
&lt;li>Encode the problem as an instance of &lt;code>QuadraticProgram&lt;/code>&lt;/li>
&lt;li>Solve the problem via &lt;code>MinimumEigenOptimizer&lt;/code>&lt;/li>
&lt;li>Visualize the solution&lt;/li>
&lt;/ol>
&lt;/p>
&lt;/section>
&lt;section id="section4">
&lt;h2>Conclusion&lt;/h2>
&lt;p>
&lt;p>The research work demonstrates the various results of the benchmarking with respect to the characteristics compared.&lt;/p>
&lt;/p>
&lt;/section>
&lt;section id="section5">
&lt;h2>Variational Quantum EigenSolver (VQE)&lt;/h2>
&lt;p>
&lt;p>&lt;strong>Benchmarking results for 3 nodes + depot (1) &amp;amp; 2 vehicles tested on `ibmq_qasm_simulator&lt;/strong>&lt;/p>
&lt;table align="center">
&lt;caption>Comparison results of `ibmq_qasm_simulation` and `ibm_quito`&lt;/caption>
&lt;tr>
&lt;td>&lt;img src="asset/3_2_C.png" alt="On Simulator [qasm]" width="85%">&lt;/td>
&lt;td>&lt;img src="asset/3_2_Q.png" alt="On real Quantum Computer [ibmq-bogota]" width="85%">&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;strong>Benchmarking results for 4 nodes + depot (1) &amp;amp; 3 vehicles tested on &lt;code>ibmq_qasm_simulator&lt;/code>&lt;/strong>&lt;/p>
&lt;table align="center">
&lt;caption>Comparison results of `ibmq_qasm_simulation` and `ibm_quito`&lt;/caption>
&lt;tr>
&lt;td>&lt;img src="asset/4_3_C.png" alt="On Simulator [qasm]" width="85%">&lt;/td>
&lt;td>&lt;img src="asset/4_3_Q.png" alt="On real Quantum Computer [ibmq-bogota]" width="85%">&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;strong>Benchmarking results when tested on various &lt;em>optimizers&lt;/em>, using &lt;code>SPSA&lt;/code>, &lt;code>L_BFGS_B&lt;/code> and &lt;code>SLQSP&lt;/code>&lt;/strong>&lt;/p>
&lt;table align="center">
&lt;caption>Comparison results obtained when 3 discreet optimizers were utilized and simulated on `ibmq_qasm_simulation` &lt;/caption>
&lt;tr>
&lt;td>&lt;img src="asset/4_3_SPSA.png" alt="On Simulator [qasm]" width="100%">&lt;/td>
&lt;td>&lt;img src="asset/4_3_LB.png" alt="On Simulator [qasm]" width="100%">&lt;/td>
&lt;td>&lt;img src="asset/4_3_SL.png" alt="On real Quantum " width="100%">&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>&lt;strong>Benchmarking results for 5 nodes + depot (1) &amp;amp; 4 vehicles tested on `ibmq_qasm_simulator&lt;/strong>&lt;/p>
&lt;table align="center">
&lt;caption>Comparison results of `ibmq_qasm_simulation` and `ibm_oslo`&lt;/caption>
&lt;tr>
&lt;td>&lt;img src="asset/5_4_C.png" alt="On Simulator [qasm]" width="85%">&lt;/td>
&lt;td>&lt;img src="asset/5_4_Q.png" alt="On real Quantum Computer [ibmq-bogota]" width="85%">&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/p>
&lt;/section>
&lt;section id="section6">
&lt;h2>Quantum Approximate Optimization Algorithm (QAOA)&lt;/h2>
&lt;p>
&lt;p>&lt;strong>Benchmarking results when tested on 2 different &lt;em>optimizers&lt;/em>, using &lt;code>SPSA&lt;/code> and &lt;code>COBYLA&lt;/code> for 5 nodes + depot (1) &amp;amp; 4 vehicles&lt;/strong>&lt;/p>
&lt;table align="center">
&lt;caption>Comparison results obtained when 2 discreet optimizers such as `COBYLA` and `SPSA`were utilized and simulated on `ibmq_qasm_simulation`&lt;/caption>
&lt;tr>
&lt;td>&lt;img src="asset/5_4_QAOA_C.png" alt="On Simulator [qasm]" width="100%">&lt;/td>
&lt;td>&lt;img src="asset/5_4_QAOA_COBYLA.png" alt="On Simulator [qasm]" width="100%">&lt;/td>
&lt;td>&lt;img src="asset/5_4_QAOA_SPSA.png" alt="On real Quantum Computer [ibmq-bogota]" width="100%">&lt;/td>
&lt;/tr>
&lt;/table>
&lt;/p>
&lt;/section>
&lt;section id="section7">
&lt;h2>Results&lt;/h2>
&lt;p>
&lt;p>This result discusses, there is a drastic variation between classical {expected) cost and Quantum cost in few of the cases and some cases have a similar costs.&lt;/p>
&lt;p>There were certain factors which might have caused the error:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Using a &amp;lsquo;qasm simulator&amp;rsquo; it will use sampling (shots) from the ideal distribution so there will be shot (sampling) noise in any given value.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>The type optimizer utilized, as it needs to find a minimum in this noise - some best optimizers which could be ufor VRP &lt;strong>[ SPSA, L_BFGS, COBYLA, SLSQP ]&lt;/strong> which was designed to work in noise is a reasonable choice.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Also the type of algorithm matters, In case of variational - &lt;code>SamplingVQE&lt;/code>. The anstaz is customisable [One has the freedom to can choose or make a difference too]. But, the &lt;strong>QAOA&lt;/strong> comes with its default ansataz.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;/p>
&lt;/section>
&lt;section id="section8">
&lt;h2>Solving VRP using Quantum Annealing technique&lt;/h2>
&lt;p>
&lt;p>Similarly an attempt to to use Quantum Annealing technique is performed by using Dwave-ocean-sdk and the implementation data and its test results can be found &lt;a href="https://github.com/ShisheerKaushik24/Junior-Researcher-Project-/tree/master/vehicle-routing/D-wave-annealer" target="_blank" rel="noopener">here:&lt;/a>&lt;/p>
&lt;table align="center">
&lt;caption>Comparison results obtained when 3 discreet test_input{graphs} were simulated on `D-wave CPU` &lt;/caption>
&lt;tr>
&lt;td>&lt;img src="asset/solver1_t1_cpu.png" alt="Graph 1" width="100%">&lt;/td>
&lt;td>&lt;img src="asset/solver1_t2_cpu.png" alt="Graph 2" width="100%">&lt;/td>
&lt;td>&lt;img src="asset/solver1_t3_cpu.png" alt="Graph 3" width="100%">&lt;/td>
&lt;/tr>
&lt;/table>
&lt;table align="center">
&lt;caption>Comparison results obtained when 3 discreet test_input{graphs} were computed on `D-Wave 2000Q QPU` &lt;/caption>
&lt;tr>
&lt;td>&lt;img src="asset/solver1_t1_qpu.png" alt="Graph 1" width="100%">&lt;/td>
&lt;td>&lt;img src="asset/solver1_t2_qpu.png" alt="Graph 2" width="100%">&lt;/td>
&lt;td>&lt;img src="asset/solver1_t3_qpu.png" alt="Graph 3" width="100%">&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>As seen in the above results, there are many different vehicles which are travelling in accordance with the defined input{graph}, hence each fastest and cost efficient routes are highligted using different sets of color combination. The depot is highlighted with &lt;em>Blue&lt;/em> color to distinguish with other nodes.&lt;/p>
&lt;p>Note that there are two input formats:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>Full input
The full input needs a graph file and a test file. In a graph file, you need to provide edges description: each line should contain two nodes&amp;rsquo; ids and cost. Cost is related to what you want to optimize, for example: distance or time. In a test file, you need to provide information about depots, destinations and vehicles. If you want to solve an instance of &lt;strong>MDVRP (without capacities)&lt;/strong>, you only need to provide depots&amp;rsquo; and destinations&amp;rsquo; ids and the number of vehicles. If you want to solve &lt;strong>CMDVRP&lt;/strong>, you also need to provide destinations, weights and vehicles capacities.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Normal input
It needs only a test file. You need to provide information about depots, destinations, vehicles and costs of travelling between depots and destinations. If you want to solve MDVRP (without capacities), you only need to provide depots and destinations ids, number of vehicles and costs. Similar to Full Input, its the same condition in case of &lt;strong>CMVRP&lt;/strong>&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>Depots and destinations are enumerated with natural numbers. If you have n depots and m destinations, depots will have numbers 0, 1, 2, &amp;hellip;, n - 1 and destinations will have numbers n, n + 1, n + 2, &amp;hellip;, n + m - 1. You need to provide (n + m) x (n + m) matrix with costs.&lt;/p>
&lt;p>The problem uses &lt;code>DBScanSolver&lt;/code> for &lt;em>MDVRP&lt;/em>. It also uses another solver (solver attribute) to solve problems like VRP and TSP, and then tries to divide the solution to consecutive parts that will be served by vehicles. There is also an attribute &amp;lsquo;random&amp;rsquo; - bigger value should give better solutions with bigger execution time.Using this solver with &lt;code>DBScanSolver&lt;/code> should give the best effect. On smaller tests (with the number of destinations up to 50), you can use it with &lt;code>FullQuboSolver&lt;/code> to reduce the size of QUBO. Note that using this solver with &lt;code>AveragePartitionSolver&lt;/code> is exactly the same as using it with &lt;code>FullQuboSolver&lt;/code>.&lt;/p>
&lt;/p>
&lt;/section>
&lt;section id="section9">
&lt;h2>Resources&lt;/h2>
&lt;p>
&lt;ul>
&lt;li>&lt;a href="https://arxiv.org/abs/1411.4028/" target="_blank" rel="noopener">A Quantum Approximate Optimization Algorithm&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://github.com/Qiskit/qiskit-optimization/blob/59d293d9d258eb3e8d780804252c1bdf5553e339/docs/tutorials/06_examples_max_cut_and_tsp.ipynb/" target="_blank" rel="noopener">Qiskit-Optimization&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.semanticscholar.org/paper/Integer-Programming-Formulation-of-Traveling-Miller-Tucker/f310643a22ec50a74a64f6203932b9407215d964/" target="_blank" rel="noopener">Integer Programming Formulation of Traveling Salesman Problems&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://press.princeton.edu/books/hardcover/9780691129938/the-traveling-salesman-problem" target="_blank" rel="noopener">The Traveling Salesman Problem: A Computational Study&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Quantum Annealing&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;a href="https://www.nature.com/articles/ncomms2920" target="_blank" rel="noopener">Thermally assisted quantum annealing of a 16-qubit problem&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://www.researchgate.net/publication/51117464_Quantum_annealing_with_manufactured_spins" target="_blank" rel="noopener">Quantum annealing with manufactured spins&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://journals.aps.org/prx/pdf/10.1103/PhysRevX.4.021041" target="_blank" rel="noopener">Entanglement in a Quantum Annealing Processo&lt;/a>&lt;/p>
&lt;/p>
&lt;/li>
&lt;/ul>
&lt;/section>
&lt;p>&lt;a id="scroll-to-top" href="#top">↑&lt;/a>&lt;/p>
&lt;script>
window.addEventListener('DOMContentLoaded', function() {
var scrollToTop = document.getElementById('scroll-to-top');
window.addEventListener('scroll', function() {
if (window.pageYOffset > 200) { // Adjust the value (200) as needed
scrollToTop.style.display = 'block';
} else {
scrollToTop.style.display = 'none';
}
});
scrollToTop.addEventListener('click', function(e) {
e.preventDefault();
window.scrollTo({ top: 0, behavior: 'smooth' });
});
});
&lt;/script>
&lt;/body>
&lt;/html></description></item><item><title>Qiskit Fall Fest 2024 in IIT Jodhpur</title><link>https://quantum-club-iitj.netlify.app/fallfest/</link><pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate><guid>https://quantum-club-iitj.netlify.app/fallfest/</guid><description>&lt;!DOCTYPE html>
&lt;html>
&lt;head>
&lt;link rel="stylesheet" type="text/css" href="styles.css">
&lt;/head>
&lt;body>
&lt;!-- # Contents
&lt;nav>
&lt;ul>
&lt;li>&lt;a href="#section1">Introduction&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section2">Quantum Mechanics&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section3">Quantum Computing&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section4">Quantum Algorithms&lt;/a>&lt;/li>
&lt;li>&lt;a href="#section5">Quantum Machine learning &lt;/a>&lt;/li>
&lt;li>&lt;a href="#section6">Closing Ceremony&lt;/a>&lt;/li>
&lt;/ul>
&lt;/nav> -->
&lt;p>e&lt;a href="paper6.jpg">&lt;/a>&lt;/p>
&lt;section id="section1">
&lt;h2>What is Qiskit Fall Fest ?&lt;/h2>
&lt;table align="center" style="width: 100vw; margin: 0; padding: 0;">
&lt;caption>IBM Quantum Event &lt;/caption>
&lt;tr>
&lt;td>&lt;img src="asset/mdeia/paper5.jpg" alt="On Simulator [qasm]" width="100%">&lt;/td>
&lt;/tr>
&lt;/table>
&lt;p>
&lt;p>Qiskit Fall Fest is a collection of quantum computing events that invites students, researchers and industry professionals around the world to participate in a wide array of quantum-themed activities, ranging from quantum challenges, hackathons, and coding competitions to workshops, social events, and more.&lt;/p>
&lt;/p>
&lt;/section>
&lt;section id="section2">
&lt;h2>Who can Participate ?&lt;/h2>
&lt;p>
&lt;p>content need to be updated &amp;hellip;&lt;/p>
&lt;/p>
&lt;/section>
&lt;section id="section3">
&lt;h2>When ? Where ? How ?&lt;/h2>
&lt;p>
&lt;p>content need to be updated &amp;hellip;&lt;/p>
&lt;/p>
&lt;/section>
&lt;section id="section9">
&lt;h2>Important links&lt;/h2>
&lt;p>
&lt;ul>
&lt;li>
&lt;p>&lt;a href="https://arxiv.org/abs/1411.4028/" target="_blank" rel="noopener">IBM Qiskit &lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://github.com/Qiskit/qiskit-optimization/blob/59d293d9d258eb3e8d780804252c1bdf5553e339/docs/tutorials/06_examples_max_cut_and_tsp.ipynb/" target="_blank" rel="noopener">Our Linkedin Page&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://www.semanticscholar.org/paper/Integer-Programming-Formulation-of-Traveling-Miller-Tucker/f310643a22ec50a74a64f6203932b9407215d964/" target="_blank" rel="noopener">Registration&lt;/a>&lt;/p>
&lt;/p>
&lt;/li>
&lt;/ul>
&lt;/section>
&lt;p>&lt;a id="scroll-to-top" href="#top">↑&lt;/a>&lt;/p>
&lt;script>
window.addEventListener('DOMContentLoaded', function() {
var scrollToTop = document.getElementById('scroll-to-top');
window.addEventListener('scroll', function() {
if (window.pageYOffset > 200) { // Adjust the value (200) as needed
scrollToTop.style.display = 'block';
} else {
scrollToTop.style.display = 'none';
}
});
scrollToTop.addEventListener('click', function(e) {
e.preventDefault();
window.scrollTo({ top: 0, behavior: 'smooth' });
});
});
&lt;/script>
&lt;/body>
&lt;/html></description></item></channel></rss>