huggingface.co

Qiskit__qiskit-4465

You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> `initialize` and `Statevector` don't play nicely <!-- ⚠️ If you do not respect this template, your issue will be closed --> <!-- ⚠️ Make sure to browse the opened and closed issues --> ### Informations -...

Qiskit/qiskit

aae6eab589915d948f89d1b131019282560df61a

`initialize` and `Statevector` don't play nicely <!-- ⚠️ If you do not respect this template, your issue will be closed --> <!-- ⚠️ Make sure to browse the opened and closed issues --> ### Informations - **Qiskit Aer version**: 0.5.1 - **Python version**: 3.7.3 - **Operating system**: OSX ### What is the cu...

Funny cause the circuit has no resets: ``` ┌───┐┌───────────────┐┌───┐» q_0: ─|0>──────────────────────────────┤ X ├┤ U3(-pi/2,0,0) ├┤ X ├» ┌──────────────┐┌───────────┐└─┬─┘└───────────────┘└─┬─┘» q_1: ─|0>─┤ U3(pi/2,0,0) ├┤ U3(0,0,0) ├──■─────────────────────■──...

2020-05-15T16:51:32Z

<patch> diff --git a/qiskit/quantum_info/states/densitymatrix.py b/qiskit/quantum_info/states/densitymatrix.py --- a/qiskit/quantum_info/states/densitymatrix.py +++ b/qiskit/quantum_info/states/densitymatrix.py @@ -547,12 +547,22 @@ def _evolve_operator(self, other, qargs=None): def _append_instruction(self, oth...

[]

[]

ipython__ipython-10213

"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)

ipython/ipython

78ec96d7ca0147f0655d5260f2ab0c61d94e4279

"remove usage of backports.shutil_get_terminal_size\nThis is for pre-3.3 Python.\r\n\r\nPretty easy (...TRUNCATED)

2017-01-28T05:22:06Z

"<patch>\ndiff --git a/IPython/utils/terminal.py b/IPython/utils/terminal.py\n--- a/IPython/utils/te(...TRUNCATED)

[]

[]

Qiskit__qiskit-1295

"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)

Qiskit/qiskit

77dc51b93e7312bbff8f5acf7d8242232bd6624f

"credentials failed for qiskit ver 0.6.1\n<!-- ⚠️ If you do not respect this template, your issu(...TRUNCATED)

"Can you try enable_account or regenerating the token. Your code should work. If you type `IBMQ.stor(...TRUNCATED)

2018-11-19T08:27:15Z

"<patch>\ndiff --git a/qiskit/backends/ibmq/credentials/_configrc.py b/qiskit/backends/ibmq/credenti(...TRUNCATED)

[]

[]

docker__compose-6410

"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)

docker/compose

14e7a11b3c96f0ea818c8c28d84a1aff7967e579

"Upgrade `events` to use the new API fields\nIn API version 1.22 the events structure was updated to(...TRUNCATED)

"This upgrade may also allow us to handle image events. Since we won't need to inspect every event, (...TRUNCATED)

2018-12-11T01:55:02Z

"<patch>\ndiff --git a/compose/cli/log_printer.py b/compose/cli/log_printer.py\n--- a/compose/cli/lo(...TRUNCATED)

[]

[]

ytdl-org__youtube-dl-1591

"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)

ytdl-org/youtube-dl

b4cdc245cf0af0672207a5090cb6eb6c29606cdb

"Opus audio conversion failure\nWhen trying to extract and convert audio from a youtube video into a(...TRUNCATED)

"I had the same issue and after an hour-long debug session with a friend of mine we found out that t(...TRUNCATED)

2013-10-12T11:32:27Z

"<patch>\ndiff --git a/youtube_dl/PostProcessor.py b/youtube_dl/PostProcessor.py\n--- a/youtube_dl/P(...TRUNCATED)

[]

[]

numpy__numpy-13703

"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)

numpy/numpy

40ada70d9efc903097b2ff3f968c23a7e2f14296

"Dtype.base attribute not documented\ndtype instances have a `base` attribute that, I think, is mean(...TRUNCATED)

"I've found myself using `.subdtype` instead, which contains the same info\nI think base also means (...TRUNCATED)

2019-06-03T20:15:13Z

"<patch>\ndiff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py\n--- a/numpy/core/_ad(...TRUNCATED)

[]

[]

wagtail__wagtail-7855

"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)

wagtail/wagtail

4550bba562286992b27e667b071451e6886fbf44

"Use html_url in alias_of API serialisation\nAs per https://github.com/wagtail/wagtail/pull/7669#iss(...TRUNCATED)

2022-01-13T15:50:23Z

"<patch>\ndiff --git a/wagtail/api/v2/serializers.py b/wagtail/api/v2/serializers.py\n--- a/wagtail/(...TRUNCATED)

[]

[]

pandas-dev__pandas-27237

"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)

pandas-dev/pandas

f683473a156f032a64a1d7edcebde21c42a8702d

"Add key to sorting functions\nMany python functions (sorting, max/min) accept a key argument, perh(...TRUNCATED)

"Here's a specific use case that came up on [StackOverflow](http://stackoverflow.com/questions/29580(...TRUNCATED)

2019-07-04T23:04:26Z

"<patch>\ndiff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst\n--- a/do(...TRUNCATED)

[]

[]

conan-io__conan-3187

"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)

conan-io/conan

c3baafb780b6e5498f8bd460426901d9d5ab10e1

"Using \"?\" in a tools.get() URL will fail, while using it in a tools.download() will succeed.\nTo (...TRUNCATED)

"Verified: ``tools.get()`` uses the last part of the URL as the name of the file to be saved.\r\n\r\(...TRUNCATED)

2018-07-10T10:30:23Z

"<patch>\ndiff --git a/conans/client/tools/net.py b/conans/client/tools/net.py\n--- a/conans/client/(...TRUNCATED)

[]

[]

googleapis__google-cloud-python-3348

"You will be provided with a partial code base and an issue statement explaining a problem to resolv(...TRUNCATED)

googleapis/google-cloud-python

520637c245d461db8ee45ba466d763036b82ea42

Error reporting system tests needed Follow up to #3263.

2017-05-01T22:40:28Z

"<patch>\ndiff --git a/error_reporting/nox.py b/error_reporting/nox.py\n--- a/error_reporting/nox.py(...TRUNCATED)

[]

[]

Read the original on huggingface.co ↗