-
Updated
Jul 8, 2022
quantum-computing
Here are 1,767 public repositories matching this topic...
Here are some examples:
- Root README is missing machine learning category of samples
- README in algorithms is missing
repeat-until-success
andsudoku-grover
- [README in diagnostics](https://github.com/microsoft/Quantum/blob/main/samples/diagnostics/RE
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
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
-
Updated
Jul 8, 2022 - OpenQASM
-
Updated
Feb 28, 2022 - HTML
Remove index page
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.
-
Updated
Jun 12, 2022
-
Updated
Jul 4, 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
Adding type hints
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
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
-
Updated
Jun 25, 2022 - Python
-
Updated
Feb 7, 2022 - Jupyter Notebook
-
Updated
Feb 1, 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
-
Updated
Jul 4, 2022 - Python
Describe the problem
See the page about density matrix, part Trace and Positivity Conditions
Its trace must be equal to one:
Remembering that the trace of a matrix (denoted as Tr) is the sum of its diagonal terms, we have:
-
Updated
May 25, 2022 - JavaScript
-
Updated
Jun 23, 2022 - C++
-
Updated
Jun 4, 2021 - Python
-
Updated
Jul 8, 2022 - Julia
-
Updated
Jun 24, 2022 - Python
-
Updated
Nov 26, 2021 - Python
-
Updated
Feb 26, 2019 - Python
-
Updated
Mar 19, 2022 - Jupyter Notebook
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:
-
Updated
Jul 7, 2022 - Python
scale-out-matrix-phases
takes matricesdouble~
. If, for any entry, it finds that there is no
I like to have another function that calculate
Improve this page
Add a description, image, and links to the quantum-computing topic page so that developers can more easily learn about it.
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."
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