Skip to content
#

quantum-computing

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

QuantumKatas
tcNickolas
tcNickolas commented Oct 1, 2019

Several katas could have better error messaging:

  • Superposition : the test harness could log the actual state of the system after prep vs the expected state before asserting that they are the same (the change would add state prep and logging using DumpMachine to AssertEqualOnZeroState)
  • BasicGates : a similar improvement, but a bit more extra code to write a unified test wrapper
Cirq
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

BOBO1997
BOBO1997 commented Apr 12, 2021

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

pennylane
albi3ro
albi3ro commented Jul 7, 2021

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

strawberryfields
josh146
josh146 commented Apr 19, 2021

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

qiskit-textbook
frankharkins
frankharkins commented Jun 21, 2021

Describe the issue
Some of the code cells in the Japanese translation of the textbook are outdated and might not work with the latest version of Qiskit. These files need to be updated by a Japanese speaker to match the English version of the textbook (under i18n/locales/ja/):

  • ch-algorithms/shor.ipynb
  • ch-algorithms/defining-quantum-circuits.ipynb
  • `ch-algorithms/sim
mhdavid-hrl
mhdavid-hrl commented Jan 25, 2021

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.

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