The Wayback Machine - https://web.archive.org/web/20210311061132/https://github.com/topics/quantum
Skip to content
#

quantum

Here are 502 public repositories matching this topic...

1ucian0
1ucian0 commented Mar 8, 2021

Take the following example:

from qiskit import QuantumCircuit
from qiskit.circuit.library import ZGate

qc = QuantumCircuit(3)
qc.append(ZGate().control(2, ctrl_state='01'), range(3))

The text and latex drawer outputs are the following:

qc.draw('text')

q_0: ─■─
      │ 
q_1: ─o─
      │ 
q_2: ─■─
qc.draw('latex')

![image](https://

sarsid
sarsid commented Jul 27, 2020

Describe the bug
When applying resolve_gates() method to QubitCircuit containing the FREDKIN gate, the following error is produced:

ValueError: Gate RY requires one target

To Reproduce

from qutip.qip.circuit import QubitCircuit
A = QubitCircuit(3)
A.add_gate("FREDKIN", targets=[0, 1], controls=[2])
A.resolve_gates()

It might be a good idea to check this

pennylane
strawberryfields
co9olguy
co9olguy commented Nov 6, 2020

It would be nice to allow users to set a custom value for the tensorflow dtype if they are really pushing their simulations (and aware of the memory tradeoffs). This would be a very straightforward feature to add, most likely by adjusting backend_options to accept a dtype argument or something similar

See, e.g., the discussion below:

You could change this line https://github.com/XanaduAI

samarsha
samarsha commented Oct 22, 2020

Most documentation comments in the compiler only use the <summary> tag. For short comments, this is fine, but in many cases the summary is several paragraphs long and would be easier to read if it used standard documentation tags to structure the information. This is especially important for exceptions - exceptions mentioned in the <summary> tag are easy to miss, whereas the special `<exceptio

These usercontent and userchrome files will give a full themed dark color to Firefox Quantum, menus and dialogs included, as well as the scrollbars. You can also use the JS files to enable multirow tabs and other functions.

  • Updated Mar 7, 2021
  • CSS
msramalho
msramalho commented Nov 15, 2018

Whenever a slide has minted code, like so:

\begin{frame}[fragile]{Example minted}
	\begin{minted}{python}
		from qiskit_aqua import run_algorithm

		print(run_algorithm(params)['result'])
	\end{minted}
\end{frame}

One is unable to add the \pagenumber before \end{frame} as it gets left aligned instead of right aligned:
![image](https://user-images.githubusercontent.com/1

Quantum-Computing-Collection-Of-Resources

A Well Maintained Repository On Quantum Computing Resources [Code+Theory] Updated Regularly During My Time At IBM, Qubit x Qubit And The Coding School's Introduction To Quantum Computing Course '21

  • Updated Feb 21, 2021
  • Jupyter Notebook

Improve this page

Add a description, image, and links to the quantum topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the quantum topic, visit your repo's landing page and select "manage topics."

Learn more