question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transpiler: Invalid plugin name for simple case

See original GitHub issue

Environment

  • Qiskit Terra version: master
  • Python version: 3.10
  • Operating system: osx

What is happening?


from qiskit import *
from qiskit.providers.fake_provider import FakeAthens

sim = FakeAthens()

qc = QuantumCircuit(3)
qc.h(0)
qc.cx(0,1)
qc.cx(1,2)
qc.measure_all()

trans_qc = transpile(qc, sim)

gives:

TranspilerError: 'Invalid plugin name stochastic for stage routing'

How can we reproduce the issue?

Run above

What should happen?

This is a simple case that should give no errors

Any suggestions?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alexanderivriicommented, Sep 14, 2022

For what it’s worth, a few hours ago I have checked out and installed from source a new qiskit-terra repository, and everything (including the code above) seems to run fine (but I am running python 3.10 on windows). Have you tried updating qiskit, running pip install -e ., etc.?

0reactions
nonhermitiancommented, Sep 14, 2022

Ok this magically worked itself out somehow so no worries anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

qiskit.compiler.transpiler — Qiskit 0.39.2 documentation
pylint: disable=import-error,invalid-sequence-index """Circuit transpile ... This can also be the external plugin name to use for the ``layout`` stage.
Read more >
Why and how to transpile dependencies of your JavaScript ...
In both cases, you need to transpile the code of the dependencies. Manual transpilation. Let's assume that we're using webpack and babel-loader.
Read more >
Why you should use SWC (and not Babel) - LogRocket Blog
In this post, we'll cover the basics of transpilers and we'll compare Babel and SWC based on setup, execution, and speed.
Read more >
Can I use JSPM without a transpiler? - Stack Overflow
It's not clear what you're trying to do. If you use ES2015 features (e.g. ES2015 modules, let , etc.), then you need the...
Read more >
cordova-plugin-webpack-transpiler - npm
Start using cordova-plugin-webpack-transpiler in your project by running ... While the configuration will generally work as-is for a simple ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found