Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (2.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: wilkensJ
  • License: apache-2.0
  • Default Branch: main
  • Size: 26.7 MB
Statistics
  • Stars: 13
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created about 3 years ago · Last pushed 12 months ago
Metadata Files
Readme License Citation

README.md

Quantum Circuit Library

How to use this library

There are 7 library parts: 1q, 2q, 3q/3q+, 4q/4q+, 5q/51+, classical, useful, and construction-kit. The last part lets you construct your outlines of any circuit you wish.

To open a draw.io online editor with the preloaded libraries (right to left, mathematical) click this link.

If you wish to use the counter-intuitive way of drawing circuit diagrams (left to right) click this link.

Please cite this repository using the right panel or the CITATION.cff file when used in any publication.

Enabling mathematical typesetting | Zoom :-------------------------:|:-------------------------: To use latex notation in the circuits and overall diagram document, click in the menu bar on Extras -> Mathematical typesetting. | Use the zoom function by clicking on the magnifier under the menu bar. | Screenshot_Extras_mathematical_typesetting | Zoom

Save to file | Load other libraries :-------------------------:|:-------------------------: Select File-> Export as and choose a format. You can also save only a selected part of your diagram. | When other forms are needed like dashed rectangles, load other libraries with + More Shapes option under the existing libraries. | Bildschirmfoto 2023-01-19 um 21 52 27 | Bildschirmfoto 2023-01-19 um 22 07 17

Example

In this example, illustrated with short gifs, a three-qubit circuit diagram is put together, saved to the scratchpad, and loaded from it.

Prebuild 3 qubits initialization | By hand 3 qubits initialization :-------------------------:|:-------------------------: Drag and drop the wanted initialization gates, here it's three. | They could be assembled by the single qubit init gates when aligned properly. | init gate | init gate

Single qubit gate | Two qubit gate :-------------------------:|:-------------------------: Align the single qubit gate along with the init box, the alignment lines turn solid blue once the right position is met. | Now the two-qubit gate has to be aligned with the initialization and one qubit gate, again, the lines turn solid when it is aligned properly.| 1q gate | 2q gate

Toffoli Top | Toffoli Middle | Toffoli Bottom :-------------------------:|:-------------------------:|:-------------------------:| Toffoli 1 | Toffoli 2 | Toffoli 3 |

Measurement | Mathematical labeling :-------------------------:|:-------------------------: There are three different types of measurement boxes, here the one with no connector to the left is chosen to finish the diagram. | Labeling the diagram parts is possible even with latex notation, double click the box and put two doller signs $$ around the latex part.| Measurement | Mathematical typesetting

Save to Scratchpad | Load from Scratchpad :-------------------------:|:-------------------------: Diagrams or parts of diagrams can be saved to the personal scratchpad. Select the parts and click the + sign next to the scratchpad to save it. | When clicking on the diagram in the scratchpad, the whole saved diagram appears again. | Save to scratchpad | Load from scratchpad

Owner

  • Login: wilkensJ
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Wilkens"
  given-names: "Jadwiga"
  orcid: "https://orcid.org/0009-0009-0072-9284"
title: "Quantum Circuit Library"
version: 1.0.0
date-released: 2023-01-19
url: "https://github.com/wilkensJ/drawio-library"

GitHub Events

Total
  • Watch event: 4
  • Push event: 2
Last Year
  • Watch event: 4
  • Push event: 2