Skip to content

Commit

Permalink
Add transpiler plugins section to web page (#594)
Browse files Browse the repository at this point in the history
### Summary

This PR adds a transpiler plugins section to the web page.
  • Loading branch information
frankharkins authored Nov 22, 2023
1 parent 994bc49 commit d5ca231
Show file tree
Hide file tree
Showing 8 changed files with 271 additions and 210 deletions.
38 changes: 35 additions & 3 deletions ecosystem/html_templates/webpage.html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,38 @@
</header>

<div class="content cds--grid layout-lead-space-fixed__container">
<h2 id="transpiler-plugins" class="section">
<a
title="Permalink to this headline"
href="#transpiler-plugins"
class="section-anchor"
>
<svg
focusable="false"
preserveAspectRatio="xMidYMid meet"
xmlns="http://www.w3.org/2000/svg"
fill="currentColor"
width="16"
height="16"
viewBox="0 0 32 32"
aria-hidden="true"
class="inline"
>
<path
d="M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z"
></path>
<path
d="M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z"
></path>
</svg>
</a>
Transpiler plugins
</h2>
<p>
Use these projects to compile and optimize your quantum circuits.
</p>
<div class="cards cds--row">{{section_transpiler_plugin_cards}}</div>

<h2 id="providers" class="section">
<a
title="Permalink to this headline"
Expand Down Expand Up @@ -106,7 +138,7 @@
Access IBM Quantum and 3rd party systems and simulators to the following
providers
</p>
<div id="section1" class="cards cds--row">{{section_provider_cards}}</div>
<div class="cards cds--row">{{section_provider_cards}}</div>

<h2 id="quantum-applications" class="section">
<a
Expand Down Expand Up @@ -139,7 +171,7 @@
Explore packages that help apply quantum technology to real-world use
cases
</p>
<div id="section2" class="cards cds--row">
<div class="cards cds--row">
{{section_applications_cards}}
</div>

Expand Down Expand Up @@ -171,7 +203,7 @@
Additional projects
</h2>
<p>Cool projects that extend, interface with, or use Qiskit</p>
<div id="section3" class="cards cds--row">{{section_other_cards}}</div>
<div class="cards cds--row">{{section_other_cards}}</div>
</div>
</body>
</html>
2 changes: 2 additions & 0 deletions ecosystem/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def build_website(self):
"link": environment.get_template("link.html.jinja"),
}
sections = {
"transpiler_plugin": "",
"provider": "",
"applications": "",
"other": "",
Expand Down Expand Up @@ -118,6 +119,7 @@ def build_website(self):
sections[repo.group] += card

return templates["website"].render(
section_transpiler_plugin_cards=sections["transpiler_plugin"],
section_provider_cards=sections["provider"],
section_applications_cards=sections["applications"],
section_other_cards=sections["other"],
Expand Down
4 changes: 2 additions & 2 deletions ecosystem/resources/members/dsm-swap.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ description = "A doubly stochastic matrices-based approach to optimal qubit rout
licence = "Apache License 2.0"
contact_info = "_No response_"
alternatives = "_No response_"
labels = [ "Transpiler plugin", "Paper implementation", "Circuit",]
labels = [ "Paper implementation", "Circuit",]
created_at = 1678827878.56605
updated_at = 1678827878.566051
tier = "Community"
styles_results = []
coverages_results = []
skip_tests = false
stars = 7
group = "other"
group = "transpiler_plugin"
[[tests_results]]
passed = false
test_type = "development"
Expand Down
4 changes: 2 additions & 2 deletions ecosystem/resources/members/mirror-gates.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ licence = "MIT license"
contact_info = "[email protected]"
alternatives = "_No response_"
affiliations = "University of Pittsburgh"
labels = [ "Transpiler plugin", "Paper implementation",]
labels = [ "Paper implementation",]
tier = "Community"
website = "https://arxiv.org/abs/2308.03874"
styles_results = []
coverages_results = []
skip_tests = false
stars = 3
group = "other"
group = "transpiler_plugin"
[[tests_results]]
passed = true
test_type = "development"
Expand Down
4 changes: 2 additions & 2 deletions ecosystem/resources/members/qiskit-bip-mapper.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ licence = "Apache License 2.0"
contact_info = "[email protected]"
alternatives = "_No response_"
affiliations = "IBM"
labels = [ "Transpiler plugin", "Paper implementation",]
labels = [ "Paper implementation",]
created_at = 1681306690.423614
updated_at = 1681306690.423619
tier = "Community"
Expand All @@ -15,4 +15,4 @@ coverages_results = []
skip_tests = true
historical_test_results = []
stars = 4
group = "other"
group = "transpiler_plugin"
4 changes: 2 additions & 2 deletions ecosystem/resources/members/qiskit-qubit-reuse.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ licence = "Apache License 2.0"
contact_info = "_No response_"
alternatives = "_No response_"
affiliations = "IBM"
labels = [ "Paper implementation", "Transpiler plugin",]
labels = [ "Paper implementation", ]
tier = "Community"
styles_results = []
coverages_results = []
skip_tests = false
stars = 7
group = "other"
group = "transpiler_plugin"
[[tests_results]]
passed = false
test_type = "development"
Expand Down
4 changes: 2 additions & 2 deletions ecosystem/resources/members/qiskit-toqm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ description = "Qiskit transpiler routing method using the Time-Optimal Qubit Map
licence = "Apache License 2.0"
contact_info = "_No response_"
alternatives = "_No response_"
labels = [ "Transpiler plugin", "Paper implementation", "Circuit",]
labels = [ "Paper implementation", "Circuit",]
created_at = 1678827878.737541
updated_at = 1678827878.737541
tier = "Community"
styles_results = []
coverages_results = []
skip_tests = false
stars = 6
group = "other"
group = "transpiler_plugin"
[[tests_results]]
passed = false
test_type = "development"
Expand Down
Loading

0 comments on commit d5ca231

Please sign in to comment.