Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gate has an invalid number of parameters #200

Closed
sirgeorgesawcon opened this issue Nov 7, 2023 · 3 comments
Closed

Gate has an invalid number of parameters #200

sirgeorgesawcon opened this issue Nov 7, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@sirgeorgesawcon
Copy link

sirgeorgesawcon commented Nov 7, 2023

The Error

I have a circuit made using qiskit, I'm converting it to tket using

from pytket.extensions.qiskit import qiskit_to_tk
c = qiskit_to_tk(qc)

but I'm getting the following error:

RuntimeError: Gate has an invalid number of parameters

How to Reproduce the Error?

The circuit is a bit complex, it requires some inbuilt Qiskit functionalities and ansatsz, here is the code:

import numpy as np
from qiskit import QuantumCircuit
from qiskit.circuit.library import RealAmplitudes
from qiskit_finance.circuit.library import NormalDistribution

qc = QuantumCircuit(15)
mu = 5
sigma = 2
# loading the demand distribution
demand = NormalDistribution(num_qubits=3,mu=mu,sigma=sigma,  bounds=[0,7])
params = [np.pi/2]*18   
supply1 = RealAmplitudes(3, reps=2)
supply2 = RealAmplitudes(3, reps=2)
    # taking the parameters from the list
list1 = params[:9]
list2 = params[9:]

    
supply1 = supply1.assign_parameters(list1)
supply2 = supply2.assign_parameters(list2)


qc.compose(demand,qubits=[8,9,10], inplace=True)
qc.compose(supply1, qubits = [0,1,2], inplace=True)
qc.compose(supply2, qubits = [3,4,5], inplace=True)
qc.draw('mpl')

Here is how the circuit looks like :

wqe

then using pytket

from pytket.extensions.qiskit import qiskit_to_tk
c = qiskit_to_tk(qc)

I'm getting the following error:

RuntimeError: Gate has an invalid number of parameters
@cqc-alec cqc-alec transferred this issue from CQCL/pytket-extensions Nov 7, 2023
@CalMacCQ
Copy link
Contributor

CalMacCQ commented Nov 7, 2023

Hi,

Thanks for making an issue for this. Here is a smaller snippet that reproduces the RuntimeError.

import numpy as np
from qiskit import QuantumCircuit
from qiskit.circuit.library import RealAmplitudes
from pytket.extensions.qiskit import qiskit_to_tk

qc = QuantumCircuit(3)

params = [np.pi/2]*9
supply1 = RealAmplitudes(3, reps=2)
   
supply1 = supply1.assign_parameters(params)
qc.compose(supply1, qubits = [0, 1, 2], inplace=True)

tkc = qiskit_to_tk(qc)

The qiskit_to_tk function appears to be trying to convert the RealAmplitudes instruction to a CustomGate and failing.

Relevant source line -> here

I'll look into this some more.

@CalMacCQ
Copy link
Contributor

In the next release, the RealAmplitudes instruction should be handled as a CircBox

If there are any further problems please make a new issue or reopen this one.

Thanks again

@CalMacCQ
Copy link
Contributor

As a temporary workaround you could decompose the quantum circuit with QuantumCircuit.decompose() before using qiskit_to_tk.

nquetschlich pushed a commit to cda-tum/mqt-bench that referenced this issue Nov 27, 2023
….47.0 (#265)

Updates the requirements on
[pytket-qiskit](https://github.com/CQCL/pytket-qiskit) to permit the
latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/CQCL/pytket-qiskit/releases">pytket-qiskit's
releases</a>.</em></p>
<blockquote>
<h2>pytket-qiskit 0.46.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Main by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/190">CQCL/pytket-qiskit#190</a></li>
<li>Update intro.txt by <a
href="https://github.com/MonitSharma"><code>@​MonitSharma</code></a> in
<a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/191">CQCL/pytket-qiskit#191</a></li>
<li>Support barriers in Aer simulators by <a
href="https://github.com/CalMacCQ"><code>@​CalMacCQ</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/192">CQCL/pytket-qiskit#192</a></li>
<li>Make dependabot check for updates to python package dependencies. by
<a href="https://github.com/cqc-alec"><code>@​cqc-alec</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/193">CQCL/pytket-qiskit#193</a></li>
<li>Update dependencies; fix code and tests for new qiskit-aer version
by <a href="https://github.com/cqc-alec"><code>@​cqc-alec</code></a> in
<a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/195">CQCL/pytket-qiskit#195</a></li>
<li>Eliminate deprecation warnings by <a
href="https://github.com/cqc-alec"><code>@​cqc-alec</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/196">CQCL/pytket-qiskit#196</a></li>
<li>add seed list feature by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/197">CQCL/pytket-qiskit#197</a></li>
<li>Update to qiskit 0.45 and qiskit-ibm-runtime 0.14. by <a
href="https://github.com/cqc-alec"><code>@​cqc-alec</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/202">CQCL/pytket-qiskit#202</a></li>
<li>Fix <code>RuntimeError</code> when converting qiskit instructions.
by <a href="https://github.com/CalMacCQ"><code>@​CalMacCQ</code></a> in
<a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/203">CQCL/pytket-qiskit#203</a></li>
<li>Add missing changelog entry by <a
href="https://github.com/CalMacCQ"><code>@​CalMacCQ</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/204">CQCL/pytket-qiskit#204</a></li>
<li>Bump qiskit-ibm-runtime to 0.15 by <a
href="https://github.com/cqc-alec"><code>@​cqc-alec</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/207">CQCL/pytket-qiskit#207</a></li>
<li>Update/dependabot docs by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/208">CQCL/pytket-qiskit#208</a></li>
<li>remove unsupported dynamic parameter by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/213">CQCL/pytket-qiskit#213</a></li>
<li>update links in documentation by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/211">CQCL/pytket-qiskit#211</a></li>
<li>Release/1.22 by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/214">CQCL/pytket-qiskit#214</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/MonitSharma"><code>@​MonitSharma</code></a>
made their first contribution in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/191">CQCL/pytket-qiskit#191</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/CQCL/pytket-qiskit/compare/v0.45.0...v0.46.0">https://github.com/CQCL/pytket-qiskit/compare/v0.45.0...v0.46.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/CQCL/pytket-qiskit/blob/develop/docs/changelog.rst">pytket-qiskit's
changelog</a>.</em></p>
<blockquote>
<h2>0.46.0 (November 2023)</h2>
<ul>
<li>Updated pytket version requirement to 1.22.</li>
<li>Add support for circuits with barriers in the Aer simulators.</li>
<li>Update qiskit version to 0.45.0.</li>
<li>Update qiskit-ibm-runtime version to 0.15.1.</li>
<li>Update qiskit-aer version to 0.13.0.</li>
<li>Update qiskit-ibm-provider version to 0.7.2.</li>
<li>Introduce dependency on qiskit-algorithms.</li>
<li>Seed given to <code>process_circuits()</code> will be automatically
incremented
for the different circuit batches submitted.</li>
<li>Fix :py:class:<code>RuntimeError</code> caused by the use of custom
gates in <code>qiskit_to_tk</code>
<code>[#200](CQCL/pytket-qiskit#200)
&lt;https://github.com/CQCL/pytket-qiskit/issues/200&gt;</code>_.</li>
</ul>
<h2>0.45.0 (October 2023)</h2>
<ul>
<li>Updated pytket version requirement to 1.21.</li>
<li>Implement crosstalk noise model for AerBackend.</li>
<li>Don't include <code>SimplifyInitial</code> in default passes;
instead make it an option
to <code>process_circuits()</code>.</li>
</ul>
<h2>0.44.0 (September 2023)</h2>
<ul>
<li>Fix to add include Measure, Reset and Conditional operations to the
supported operations of :py:class:<code>AerStateBackend</code>.</li>
<li>Update qiskit-ibm-runtime version to 0.12.0.</li>
<li>Update qiskit-ibm-provider version to 0.7.0.</li>
<li>Update pytket version requirement to 1.19.</li>
</ul>
<h2>0.43.0 (August 2023)</h2>
<ul>
<li>Update qiskit version to 0.44.</li>
<li>Update qiskit-aer version to 0.12.2.</li>
<li>Update qiskit-ibm-runtime version to 0.11.3.</li>
<li>Update qiskit-ibm-provider version to 0.6.3.</li>
<li>Add option to specify the maximum number of qubits supported by Aer
backends
(defaults to 40).</li>
</ul>
<h2>0.42.0 (August 2023)</h2>
<ul>
<li>Update pytket version requirement to 1.18.</li>
</ul>
<h2>0.41.0 (July 2023)</h2>
<ul>
<li>Update pytket version requirement to 1.17.</li>
<li>Fix conversion of qiskit <code>UnitaryGate</code> to and from pytket
(up to 3 qubits).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/7f98cab6c60f1c6cf2674426652278b0325621b2"><code>7f98cab</code></a>
Merge pull request <a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/214">#214</a>
from CQCL/release/1.22</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/a2ae91dfa4ba8be0e967a5707937e7db47c5c21a"><code>a2ae91d</code></a>
Merge branch 'develop' into release/1.22</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/4db52a01af2798730c87dc897ae7afab3c026ad1"><code>4db52a0</code></a>
update links in documentation (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/211">#211</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/47d62de48b44ae35a0e8b1dc109499a6b202ca0c"><code>47d62de</code></a>
update extension version</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/fee93ebd7425d1f0af3187c3b568a05a49160b70"><code>fee93eb</code></a>
update changelog</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/25eb38498c61928e498e5b8a8d27cf45b740d0cd"><code>25eb384</code></a>
update pytket version</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/407a5f19e03d085604015663b2f5abe707effa5f"><code>407a5f1</code></a>
remove parameter (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/213">#213</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/3f44eee906528c2b6af309c64f644cac9496c6a0"><code>3f44eee</code></a>
Update/dependabot docs (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/208">#208</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/ec35ac8d6553e59d609c5c8a6b070cbdf2d7762b"><code>ec35ac8</code></a>
[infra] Bump qiskit-ibm-runtime to 0.15 (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/207">#207</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/685131ce590bc2791bf947413508122396c00bb2"><code>685131c</code></a>
add missing changelog entry (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/204">#204</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/CQCL/pytket-qiskit/compare/v0.40.0...v0.46.0">compare
view</a></li>
</ul>
</details>
<br />

<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>

| Dependency Name | Ignore Conditions |
| --- | --- |
| pytket-qiskit | [>= 0.28.a, < 0.29] |
</details>


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
nquetschlich pushed a commit to cda-tum/mqt-bench that referenced this issue Jan 11, 2024
….48.0 (#280)

Updates the requirements on
[pytket-qiskit](https://github.com/CQCL/pytket-qiskit) to permit the
latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/CQCL/pytket-qiskit/releases">pytket-qiskit's
releases</a>.</em></p>
<blockquote>
<h2>pytket-qiskit 0.47.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Main by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/215">CQCL/pytket-qiskit#215</a></li>
<li>update devices and tests by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/220">CQCL/pytket-qiskit#220</a></li>
<li>Update/dependency 2023 12 by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/222">CQCL/pytket-qiskit#222</a></li>
<li>Add <code>CrosstalkParams</code> to API docs and docs cleanup by <a
href="https://github.com/CalMacCQ"><code>@​CalMacCQ</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/219">CQCL/pytket-qiskit#219</a></li>
<li>update ibm runtime by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/225">CQCL/pytket-qiskit#225</a></li>
<li>Add PR template. by <a
href="https://github.com/cqc-alec"><code>@​cqc-alec</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/226">CQCL/pytket-qiskit#226</a></li>
<li>update github actions by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/229">CQCL/pytket-qiskit#229</a></li>
<li>Fix/workflow 2023 by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/234">CQCL/pytket-qiskit#234</a></li>
<li>Bump actions/deploy-pages from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/232">CQCL/pytket-qiskit#232</a></li>
<li>Bump actions/upload-pages-artifact from 2 to 3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/233">CQCL/pytket-qiskit#233</a></li>
<li>Correct URL for documentation. by <a
href="https://github.com/cqc-alec"><code>@​cqc-alec</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/235">CQCL/pytket-qiskit#235</a></li>
<li>Update to qiskit-ibm-provider 0.8.0 by <a
href="https://github.com/cqc-alec"><code>@​cqc-alec</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/238">CQCL/pytket-qiskit#238</a></li>
<li>Release 0.47.0 by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/239">CQCL/pytket-qiskit#239</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/CQCL/pytket-qiskit/compare/v0.46.0...v0.47.0">https://github.com/CQCL/pytket-qiskit/compare/v0.46.0...v0.47.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/CQCL/pytket-qiskit/blob/develop/docs/changelog.rst">pytket-qiskit's
changelog</a>.</em></p>
<blockquote>
<h2>0.47.0 (unreleased)</h2>
<ul>
<li>Update qiskit-ibm-runtime version to 0.17.0.</li>
<li>Update qiskit-ibm-provider version to 0.8.0.</li>
<li>Updated pytket version requirement to 1.23.</li>
</ul>
<h2>0.46.0 (November 2023)</h2>
<ul>
<li>Updated pytket version requirement to 1.22.</li>
<li>Add support for circuits with barriers in the Aer simulators.</li>
<li>Update qiskit version to 0.45.0.</li>
<li>Update qiskit-ibm-runtime version to 0.15.1.</li>
<li>Update qiskit-aer version to 0.13.0.</li>
<li>Update qiskit-ibm-provider version to 0.7.2.</li>
<li>Introduce dependency on qiskit-algorithms.</li>
<li>Seed given to <code>process_circuits()</code> will be automatically
incremented
for the different circuit batches submitted.</li>
<li>Fix :py:class:<code>RuntimeError</code> caused by the use of custom
gates in <code>qiskit_to_tk</code>
<code>[#200](CQCL/pytket-qiskit#200)
&lt;https://github.com/CQCL/pytket-qiskit/issues/200&gt;</code>_.</li>
</ul>
<h2>0.45.0 (October 2023)</h2>
<ul>
<li>Updated pytket version requirement to 1.21.</li>
<li>Implement crosstalk noise model for AerBackend.</li>
<li>Don't include <code>SimplifyInitial</code> in default passes;
instead make it an option
to <code>process_circuits()</code>.</li>
</ul>
<h2>0.44.0 (September 2023)</h2>
<ul>
<li>Fix to add include Measure, Reset and Conditional operations to the
supported operations of :py:class:<code>AerStateBackend</code>.</li>
<li>Update qiskit-ibm-runtime version to 0.12.0.</li>
<li>Update qiskit-ibm-provider version to 0.7.0.</li>
<li>Update pytket version requirement to 1.19.</li>
</ul>
<h2>0.43.0 (August 2023)</h2>
<ul>
<li>Update qiskit version to 0.44.</li>
<li>Update qiskit-aer version to 0.12.2.</li>
<li>Update qiskit-ibm-runtime version to 0.11.3.</li>
<li>Update qiskit-ibm-provider version to 0.6.3.</li>
<li>Add option to specify the maximum number of qubits supported by Aer
backends
(defaults to 40).</li>
</ul>
<h2>0.42.0 (August 2023)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/cfe5bcfadff1a1b38064a33c24a76b21b3d40b89"><code>cfe5bcf</code></a>
Merge pull request <a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/239">#239</a>
from CQCL/release/pytket-1-23</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/11022f81f7a1efa4fad32975587d89f1d1b3637c"><code>11022f8</code></a>
update deploy-pages@4.0.1</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/479dc74acdd2cd5c5778ff10922bbfe1d06813e3"><code>479dc74</code></a>
update version</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/9986e2af8888fe52d1ec3a99e0f5451eafb66481"><code>9986e2a</code></a>
update changelog</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/cc4d78067f2e8335aaf3ada4a81d6f865eefc663"><code>cc4d780</code></a>
Update to qiskit-ibm-provider 0.8.0 and pytket 1.23.0 (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/238">#238</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/c827c6b5c6ea10e366c4607c6dadc01b5e93696d"><code>c827c6b</code></a>
Correct URL for documentation. (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/235">#235</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/8837e283d14d8baa9158dc206a5c5416763d771f"><code>8837e28</code></a>
Bump actions/upload-pages-artifact from 2 to 3 (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/233">#233</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/30951f30ca99da2af4a64bdbac05b4e2e07ab5ae"><code>30951f3</code></a>
Bump actions/deploy-pages from 3 to 4 (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/232">#232</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/639ef439453b278433c8dd6a1a4238dc159ba490"><code>639ef43</code></a>
fix artifact name related to update of actions/upload-artifact@v4 (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/234">#234</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/d6ca4e004653ed24d513776a0ec97fd474a389a6"><code>d6ca4e0</code></a>
update github actions (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/229">#229</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/CQCL/pytket-qiskit/compare/v0.40.0...v0.47.0">compare
view</a></li>
</ul>
</details>
<br />

<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>

| Dependency Name | Ignore Conditions |
| --- | --- |
| pytket-qiskit | [>= 0.28.a, < 0.29] |
</details>


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
nquetschlich pushed a commit to cda-tum/mqt-bench that referenced this issue Jan 26, 2024
Updates the requirements on
[pytket-qiskit](https://github.com/CQCL/pytket-qiskit) to permit the
latest version.
Updates `pytket-qiskit` to 0.48.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/CQCL/pytket-qiskit/releases">pytket-qiskit's
releases</a>.</em></p>
<blockquote>
<h2>v0.48.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Main by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/240">CQCL/pytket-qiskit#240</a></li>
<li>update copyright 2024 by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/242">CQCL/pytket-qiskit#242</a></li>
<li>Update python support to 3.10, 3.11 and 3.12 by <a
href="https://github.com/sjdilkes"><code>@​sjdilkes</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/243">CQCL/pytket-qiskit#243</a></li>
<li>fix issue with conditional and symbolic parameter in conversion by
<a href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/245">CQCL/pytket-qiskit#245</a></li>
<li>Bump actions/deploy-pages from 4.0.1 to 4.0.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/244">CQCL/pytket-qiskit#244</a></li>
<li>Release 0.48.0 by <a
href="https://github.com/cqc-melf"><code>@​cqc-melf</code></a> in <a
href="https://redirect.github.com/CQCL/pytket-qiskit/pull/246">CQCL/pytket-qiskit#246</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/CQCL/pytket-qiskit/compare/v0.47.0...v0.48.0">https://github.com/CQCL/pytket-qiskit/compare/v0.47.0...v0.48.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/CQCL/pytket-qiskit/blob/develop/docs/changelog.rst">pytket-qiskit's
changelog</a>.</em></p>
<blockquote>
<h2>0.48.0 (January 2024)</h2>
<ul>
<li>Updated pytket version requirement to 1.24.</li>
<li>Python 3.12 support added, 3.9 dropped.</li>
<li>fix conditional bit in pytket to qiskit conversion</li>
<li>fix symbolic conversion of parameter in conversion</li>
</ul>
<h2>0.47.0 (January 2024)</h2>
<ul>
<li>Update qiskit-ibm-runtime version to 0.17.0.</li>
<li>Update qiskit-ibm-provider version to 0.8.0.</li>
<li>Updated pytket version requirement to 1.23.</li>
</ul>
<h2>0.46.0 (November 2023)</h2>
<ul>
<li>Updated pytket version requirement to 1.22.</li>
<li>Add support for circuits with barriers in the Aer simulators.</li>
<li>Update qiskit version to 0.45.0.</li>
<li>Update qiskit-ibm-runtime version to 0.15.1.</li>
<li>Update qiskit-aer version to 0.13.0.</li>
<li>Update qiskit-ibm-provider version to 0.7.2.</li>
<li>Introduce dependency on qiskit-algorithms.</li>
<li>Seed given to <code>process_circuits()</code> will be automatically
incremented
for the different circuit batches submitted.</li>
<li>Fix :py:class:<code>RuntimeError</code> caused by the use of custom
gates in <code>qiskit_to_tk</code>
<code>[#200](CQCL/pytket-qiskit#200)
&lt;https://github.com/CQCL/pytket-qiskit/issues/200&gt;</code>_.</li>
</ul>
<h2>0.45.0 (October 2023)</h2>
<ul>
<li>Updated pytket version requirement to 1.21.</li>
<li>Implement crosstalk noise model for AerBackend.</li>
<li>Don't include <code>SimplifyInitial</code> in default passes;
instead make it an option
to <code>process_circuits()</code>.</li>
</ul>
<h2>0.44.0 (September 2023)</h2>
<ul>
<li>Fix to add include Measure, Reset and Conditional operations to the
supported operations of :py:class:<code>AerStateBackend</code>.</li>
<li>Update qiskit-ibm-runtime version to 0.12.0.</li>
<li>Update qiskit-ibm-provider version to 0.7.0.</li>
<li>Update pytket version requirement to 1.19.</li>
</ul>
<h2>0.43.0 (August 2023)</h2>
<ul>
<li>Update qiskit version to 0.44.</li>
<li>Update qiskit-aer version to 0.12.2.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/5a578e37aefa9dc3298e5af69b45c244cf6f7953"><code>5a578e3</code></a>
Merge pull request <a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/246">#246</a>
from CQCL/release/1-24-0</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/3fa0b763184698a185b934d367559325b34c2be8"><code>3fa0b76</code></a>
update version number</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/6aeb786130b2f447bd29ddcb4d7ca002523b85bf"><code>6aeb786</code></a>
update changelog</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/fd648cec2caeb3526bfedfb4df07e9e970f85716"><code>fd648ce</code></a>
Bump actions/deploy-pages from 4.0.1 to 4.0.3 (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/244">#244</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/817f3e0b47b99e795fe3544e25cb3e8bd7a5ea5e"><code>817f3e0</code></a>
fix issue with conditional and symbolic parameter in conversion (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/245">#245</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/3ea0f5a4ceec3c9823a971fdbcdeda6e9116c8a0"><code>3ea0f5a</code></a>
Update python support to 3.10, 3.11 and 3.12 (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/243">#243</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/c4c7fd372e67f8581faa75caf6dc02f948241c5e"><code>c4c7fd3</code></a>
update copyright 2024 (<a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/242">#242</a>)</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/2a261f53b93aebc12722fb381b35a6e3e1a9d085"><code>2a261f5</code></a>
Merge pull request <a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/240">#240</a>
from CQCL/main</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/cfe5bcfadff1a1b38064a33c24a76b21b3d40b89"><code>cfe5bcf</code></a>
Merge pull request <a
href="https://redirect.github.com/CQCL/pytket-qiskit/issues/239">#239</a>
from CQCL/release/pytket-1-23</li>
<li><a
href="https://github.com/CQCL/pytket-qiskit/commit/11022f81f7a1efa4fad32975587d89f1d1b3637c"><code>11022f8</code></a>
update deploy-pages@4.0.1</li>
<li>Additional commits viewable in <a
href="https://github.com/CQCL/pytket-qiskit/compare/v0.40.0...v0.48.0">compare
view</a></li>
</ul>
</details>
<br />

<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>

| Dependency Name | Ignore Conditions |
| --- | --- |
| pytket-qiskit | [>= 0.28.a, < 0.29] |
</details>


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants