<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>abstraction | Adrien Suau</title><link>https://adrien.suau.me/tag/abstraction/</link><atom:link href="https://adrien.suau.me/tag/abstraction/index.xml" rel="self" type="application/rss+xml"/><description>abstraction</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Mon, 20 Jun 2022 00:00:00 +0000</lastBuildDate><image><url>https://adrien.suau.me/media/sharing.png</url><title>abstraction</title><link>https://adrien.suau.me/tag/abstraction/</link></image><item><title>qcw</title><link>https://adrien.suau.me/project/qcw/</link><pubDate>Mon, 20 Jun 2022 00:00:00 +0000</pubDate><guid>https://adrien.suau.me/project/qcw/</guid><description>&lt;p>One of the library I developped (&lt;a href="https://adrien.suau.me/project/qprof/">&lt;code>qprof&lt;/code>&lt;/a>) requires very specific and simple information about a quantum circuit. It needs to know:&lt;/p>
&lt;ol>
&lt;li>The name of the currently explored routine (&lt;code>&amp;quot;add(3)&amp;quot;&lt;/code>, &lt;code>X&lt;/code>, &lt;code>grover&lt;/code>, &amp;hellip;).&lt;/li>
&lt;li>Whether the currently explored routine is terminal (i.e., it has no children) or not.&lt;/li>
&lt;li>If it is a non-terminal routine, how to iterate over its children.&lt;/li>
&lt;/ol>
&lt;p>I initially implemented a sub-package in &lt;a href="https://adrien.suau.me/project/qprof/">&lt;code>qprof&lt;/code>&lt;/a> to abstract away the details of several quantum computing libraries representing quantum circuits in order to have my tool working for several different quantum circuits. But the structure was a little bit tedious to maintain, and that abstraction seemed like a potentially interesting feature on its own, in other tools that are not &lt;code>qprof&lt;/code>.&lt;/p>
&lt;p>This was the inception of the &lt;code>qcw&lt;/code> library.&lt;/p>
&lt;p>The goal of the library is to provide the interface described in the above 3 enumerated points for several different quantum computing libraries while not requiring their installation when you don&amp;rsquo;t need those libraries.&lt;/p></description></item></channel></rss>