Transpiler: Invalid plugin name for simple case
See original GitHub issueEnvironment
- 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:
- Created a year ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.?Ok this magically worked itself out somehow so no worries anymore.