-
Updated
Jul 1, 2021
quantum-computing
Here are 1,213 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
Information
- Qiskit Terra version: 0.18
- Python version: 3.7
What is the current behavior?
This follows #6574 . When a QuantumCircuit
is initialized with isolates qubits there are some issues as follows
- `qc.reverse_bits()
Is your feature request related to a use case or problem? Please describe.
I need a function that takes in a state_vector
and returns the probabilities of it's amplitudes.
Describe the solution you'd like
Add a def state_vector_to_probabilities()
to
https://github.com/quantumlib/Cirq/blob/master/cirq-core/cirq/value/probability.py
**[optional] Describe alternatives/workaround
-
Updated
Jul 19, 2021 - OpenQASM
-
Updated
Oct 26, 2020 - HTML
-
Updated
Jul 19, 2021 - Jupyter Notebook
-
Updated
Jul 6, 2021
-
Updated
Jul 18, 2021
-
Updated
Jul 15, 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
As I was inspecting the MultiControlledX
gate, I noticed how it printed out:
MultiControlledX(array([[0, 1],
[1, 0]]), wires=[0, 1, 2, 3])
And was quite confused as to where the array came from. It turns out MultiControlledX
inherits from ControlledQubitUnitary
with the Unitary matrix as an X gate. This makes MultiControlledX
a parametrized gate.
Worse yet, th
-
Updated
Jul 16, 2021 - Jupyter Notebook
-
Updated
Jul 14, 2021
For example, pylint would have caught ProjectQ-Framework/ProjectQ#19 via an undefined variable warning.
-
Updated
Jun 4, 2021 - Python
In QASM2, the BNF listed a set of buit-in unary functions,sin j cos j tan j exp j ln j sqrt
. However, it was not explicit on their meaning.
QASM3 specification does not list (as far as I could check) the built-in functions and their meaning and I think it should.
-
Updated
Jun 12, 2021 - JavaScript
-
Updated
Jul 11, 2021 - Julia
-
Updated
Jul 13, 2021 - Python
-
Updated
Feb 26, 2019 - Python
Currently, the Bosonic backend does not support the MeasureFock
and MeasureThreshold
measurement operations. It would be great to add support for these two operations to the Bosonic backend.
This would entail writing functions to calculate the different probabilities up to a given cutoff, using numpy to sample from this distribution and writing update rules for updating the post measurement
I think there is an error in the Qiskit Learning material
In https://learn.qiskit.org/course/introduction/entangled-states#the-cx-gate-revisited-20-0
the sentence „If we do the cx now, we will see an effect. It flips the target qubit to as well.“ may be wrong.
I think it is the control Qubit that flips also. So the text should be: „If we do the cx now, we will see an effect. It flips the contro
-
Updated
Jun 9, 2021 - Jupyter Notebook
-
Updated
Aug 27, 2019 - Python
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
Jun 18, 2021 - C++
There seems to be confusion between 'schedule' and 'scheduler' throughout sources and doc. They seem to be used interchangeably, which seems confusing. Is a "schedule" the same as a "scheduleR"?
For example, consider the following code snippet in src/compressor/compressor.lisp
:
(let ((lschedule (make-lscheduler)))
;; load up the logical schedule
The variable lschedule
and
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:
DumpMachine
toAssertEqualOnZeroState
)