-
Updated
Nov 10, 2021
quantum-computing
Here are 1,406 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-successandsudoku-grover - [README in diagnostics](https://github.com/microsoft/Quantum/blob/main/samples/diagnostics/RE
What is the expected enhancement?
when reading source code that is related to some circuits, it is often useful to be able to see the circuit.
examples are transpiler tests (which claim two pre-/post-transpile circuits are equivalent), and circuit equivalence libraries.
Examples of files that have this already:
https://github.com/Qiskit/qiskit-terra/blob/main/test/python/transpiler/te
Is your feature request related to a use case or problem? Please describe.
Describe the solution you'd like
Heatmaps are often useful to visualize error metrics for qubits and couplers on the google devices. When selecting a subset of qubits to run an experiment on; it's useful to consult heatmaps of error metrics. We should add an option to the cirq.Heatmap and `cirq.TwoQubitInter
-
Updated
Nov 24, 2021 - OpenQASM
-
Updated
Oct 26, 2020 - HTML
-
Updated
Nov 18, 2021 - Jupyter Notebook
-
Updated
Nov 4, 2021
-
Updated
Nov 20, 2021
-
Updated
Nov 23, 2021 - Python
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
Is your feature request related to a problem? Please describe.
I would like to check the behavior of the parameter index in the function QubitCircuit.add_gate()
In qutip.qip.QubitCircuit.add_gate(), there is a optional list type attribute called index.
This seems to be used to insert gates in the middle of the gate list (qutip.qip.QubitCircuit.gates).
The corresponding code is
Expected behavior
import pennylane as qml
dev = qml.device("default.qubit", wires=5, shots=5)
@qml.qnode(dev)
def circuit():
return qml.sample()
def main():
print(circuit())
print(qml.draw(circuit, show_all_wires=True)())
return
if __name__ == "__main__":
main()
Expect something like this:
[[0 0 0 0 0]
[0 0 0 0 0]
[0 0 0 0 0
-
Updated
Oct 30, 2021 - Jupyter Notebook
-
Updated
Nov 19, 2021
For example, pylint would have caught ProjectQ-Framework/ProjectQ#19 via an undefined variable warning.
The grammar was extended with some built-in math functions that were out of the specification. TSC decided that the functions included in Qiskit/openqasm#275 should be part of the specification.
-
Updated
Jun 4, 2021 - Python
-
Updated
Aug 12, 2021 - JavaScript
-
Updated
Oct 25, 2021 - Julia
Describe the issue
The implementation of the modulo gate used in the Shor's algorithm section is the following:
def c_amod15(a, power):
"""Controlled multiplication by a mod 15"""
if a not in [2,7,8,11,13]:
raise ValueError("'a' must be 2,7,8,11 or 13")
U = QuantumCircuit(4)
for iteration in range(power):
if a in [2,13]:
U.s
-
Updated
Nov 23, 2021 - Python
-
Updated
Nov 24, 2021 - Python
-
Updated
Feb 26, 2019 - Python
-
Updated
Oct 28, 2021 - C++
-
Updated
Oct 14, 2021 - Jupyter Notebook
The formulas at API page for https://docs.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.preparation.purifiedmixedstatewithdata are also broken, but I couldn't figure out what caused it at a glance.
Originally posted by @tcNickolas in microsoft/QuantumLibraries#484 (comment)
-
Updated
Aug 27, 2019 - Python
right now, absolute jumps are conflated in the label object here. I'd prefer we instead introduce a new object called absolute-program-location or something like that. (I don't want to use "address" only because it feels too dishonest.) If we do this, then we'd change patch-labels to not overwrite these label objects, and we'
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."
Several katas could have better error messaging:
DumpMachinetoAssertEqualOnZeroState)