Skip to content
#

quantum

Here are 755 public repositories matching this topic...

pennylane
KetpuntoG
KetpuntoG commented May 19, 2022

Feature details

Currently, to use BasisEmbedding we have to pass a list with the bits [0,1,0,0] for example to put a PauliX gate in the second qubit. It would be nice to be able to pass an integer number like:

qml.BasisEmbedding(4, wires = range(4))

This result would be the same that:

qml.BasisEmbedding([0,1,0,0], wires = range(4))

because 0100 is t

enhancement good first issue
Ericgig
Ericgig commented Mar 21, 2022

Describe the Issue!

Most of the functions in random_objects.py take an N input and an optional dims. Those input are redundant as the size (N) can be obtained from the dims. However the way they handle this inconsistent:

  • Many functions, such as rand_super, rand_dm, check that the dims matches the size and raise an error if it doesn't.
  • rand_dm_ginibre, rand_super_bcsz j
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

bug documentation help wanted good first issue
cgranade
cgranade commented Oct 2, 2020

Is your feature request related to a problem? Please describe.
Adding concrete examples to API documentation comments can help clarify how Q# functions and operations are to be used. For example, the documentation for Microsoft.Quantum.Arrays.ElementsAt lists how the function acts on a variety of arrays:

Kind-Enhancement good first issue Area-Documentation Hacktoberfest
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

help wanted good first issue
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.

Enhancement Good first issue Q.Matrix Q.ComplexNumber
jvdwetering
jvdwetering commented May 12, 2022

As noted in #44, the qasm parser currently doesn't understand the ry gate. By looking at the definition of this gate in the Qiskit source, it should be relatively straightforward to implement support for this gate.

enhancement good first issue

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