Skip to content
#

quantum-computing

Here are 1,767 public repositories matching this topic...

QuantumKatas
tcNickolas
tcNickolas commented May 19, 2022

Currently task 1.3 (Validate inputs to QPE) is covered by two types of tests - Q# test TestAssertIsEigenstate_True that checks that the solution doesn't throw exceptions on inputs that are a valid unitary-eigenstate pair, and C# tests that check that the solution does throw exception on inputs that are not a valid un

help wanted good first issue tracking
nonhermitian
nonhermitian commented Jul 1, 2022

Environment

  • Qiskit Terra version: 0.21
  • Python version: 3.10
  • Operating system: osx

What is happening?

marginal_distribution raises error when passes a NumPy array of indices:

marginal_distribution(counts, np.asarray([0, 2]))

--> 225 if indices is not None and (not indices or not set(indices).issubset(range(num_clbits))):
226 rais

bug good first issue stable backport potential
Cirq
MichaelBroughton
MichaelBroughton commented Jan 20, 2022

Is your feature request related to a use case or problem? Please describe.
Right now a lot of modules (in particular tests) are pretty free form with how they do imports. It's a good practice to import modules wherever possible.

bad:

from cirq.devices import GridQubit

good:

from cirq import devices

devices.GridQubit(whatever)

**Describe the soluti

good first issue no QC knowledge needed kind/feature-request triage/accepted
qiskit-tutorials
HuangJunye
HuangJunye commented May 18, 2022

Informations

  • Qiskit version:
  • Python version:
  • Operating system:

What is the current behavior?

Each section in the tutorial page has its own index page showing up as an icon similar to the tutorials itself which is confusing.

bug good first issue
pennylane
albi3ro
albi3ro commented Jun 16, 2022

Right now, qml.operation.expand_matrix is often called in a code-block like:

if wire_order is None or self.wires == Wires(wire_order):
    return canonical_matrix

expand_matrix(canonical_matrix, wires=self.wires, wire_order=wire_order)

see [pennylane/operation.py Line 587](https://github.com/PennyLaneAI/pennylane/blob/b6fc5380abea6215661704ebe2f5cb8e7a599635/pennylane/operation.p

good first issue code quality 🎓
obriente
obriente commented Jul 30, 2020

To get this codebase up to standard, we need to add type hints. At the very least, perhaps we should start insisting that all new code has type hints added, but moreover we need to add typing to the code that currently exists.

This is a pretty large project, but luckily it can be done incrementally - I believe at this point it's a stretch goal for v1, if anyone wants to help it would be much ap

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
taalexander
taalexander commented Mar 11, 2022

What is the expected enhancement?

The openQASM project should have release notes associated with each tagged release (see #321). These should contain a summary of all changes included in the prepared release (or the development branch). For ease (and distribution) of maintenance, we should consider using reno which has been used with success in Qiski

enhancement good first issue
qiskit-textbook
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
stylewarning
stylewarning commented May 26, 2022

scale-out-matrix-phases takes matrices $A$ and $B$ and attempts to find a value $\phi := e^{i\theta}$ that most accurately allows $B[:,0] \approx \phi A[:,0]$. Here, '$\approx$' means double~. If, for any entry, it finds that there is no $\phi$ within double-noodle precision, it'll error saying that they're not in the same projective class.

I like to have another function that calculate

good first issue math

Improve this page

Add a description, image, and links to the quantum-computing 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-computing topic, visit your repo's landing page and select "manage topics."

Learn more