Skip to content
#

quantum

Here are 714 public repositories matching this topic...

Lolcroc
Lolcroc commented Feb 24, 2022

According to the official docs:

"The action of a __slots__ declaration is limited to the class where it is defined. As a result, subclasses will have a __dict__ unless they also define __slots__ (which must only contain names of any additional slots)."

What is the expected enhancement?

All subclasses down the inheritance chain (Qubit, Clbit, AncillaQubit) ought to define:

pennylane
glassnotes
glassnotes commented Nov 25, 2021

Feature details

Due to the similarity, it is easy to confuse qml.X and qml.PauliX, especially since other methods of specifying circuits, e.g., QASM, use x for PauliX. But if a user uses qml.X in their circuit on a qubit device, nothing happens to inform them that the incorrect operation is being used:

@qml.qnode(dev)
def circ():
    qml.PauliX(wires=0)
    qml.Hada
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

netket
PhilipVinc
PhilipVinc commented Apr 19, 2021

(Up for grabs for anyone who wants to do this)

Docpages generated for flax modules such as our models (RBM, RBMSymm, DenseSymm) are somehow... confused.
That's because Flax modules have a lot of methods scattered around and the attributes get put a bit everywhere.

Moreover, attributes of the model/layer itself are mixed with attributes common to all flax modules that are not really relevan

q.js
stewdio
stewdio commented Feb 1, 2022

In addition to the current acceptable arguments for Q.Matrix, it ought to accept a Template literal (Template string) as a solo argument to make it trivially easy for something like this:

var m = new Q.Matrix(`
    1 2 3 4
    5 6 7 8`)

This makes the task of creating arbitrary matrices much more human readable than passing nested Arrays, or even just a series of Arrays.

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 Apr 10, 2021
  • Jupyter Notebook
amazon-braket-sdk-python
christianbmadsen
christianbmadsen commented Aug 25, 2021

moments.add() and circuit.add() are slightly inconsistent.
circuits accept both Instruction and Iterable[Instruction] while moments take a strict Iterable.
This is confusing for the user:

circ.moments.add(Instruction(gate, target))  # doesnt work
circ.moments.add([Instruction(gate, target)])  # works

while both work for circuit classes:

circ.add(Instruction(gat

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