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

Prepare 0.46.1 #11969

Merged
merged 3 commits into from
Mar 8, 2024

Add prelude.

a618387
Select commit
Loading
Failed to load commit list.
Merged

Prepare 0.46.1 #11969

Add prelude.
a618387
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Qiskit.qiskit succeeded Mar 8, 2024 in 39m 34s

Build #20240307.36 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 151,851 (98.68%)
  • Other: 2,031 (1.32%)
  • Total: 153,883

Annotations

Check failure on line 1 in test_transpile_target_with_qubits_without_ops_with_routing_4_3

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Qiskit.qiskit

test_transpile_target_with_qubits_without_ops_with_routing_4_3

Test failed
Raw output
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "D:\a\1\s\qiskit\transpiler\passmanager.py", line 580, in wrapper
    return meth(*meth_args, **meth_kwargs)
  File "D:\a\1\s\qiskit\transpiler\passmanager.py", line 308, in run
    return super().run(
  File "D:\a\1\s\qiskit\passmanager\passmanager.py", line 224, in run
    out_program = _run_workflow(
  File "D:\a\1\s\qiskit\passmanager\passmanager.py", line 286, in _run_workflow
    passmanager_ir, final_state = flow_controller.execute(
  File "D:\a\1\s\qiskit\passmanager\base_tasks.py", line 218, in execute
    passmanager_ir, state = next_task.execute(
  File "D:\a\1\s\qiskit\passmanager\base_tasks.py", line 218, in execute
    passmanager_ir, state = next_task.execute(
  File "D:\a\1\s\qiskit\passmanager\base_tasks.py", line 218, in execute
    passmanager_ir, state = next_task.execute(
  [Previous line repeated 1 more time]
  File "D:\a\1\s\qiskit\transpiler\basepasses.py", line 195, in execute
    new_dag, state = super().execute(
  File "D:\a\1\s\qiskit\passmanager\base_tasks.py", line 98, in execute
    ret = self.run(passmanager_ir)
  File "D:\a\1\s\qiskit\transpiler\passes\basis\basis_translator.py", line 198, in run
    raise TranspilerError(
qiskit.transpiler.exceptions.TranspilerError: "Unable to translate the operations in the circuit: ['u', 'h'] to the backend's (or manually specified) target basis: ['x', 'h', 'barrier', 'snapshot', 'cx']. This likely means the target basis is not universal or there are additional equivalence rules needed in the EquivalenceLibrary being used. For more details on this error see: https://docs.quantum.ibm.com/api/qiskit/transpiler_passes.BasisTranslator#translation-errors"

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "D:\a\1\s\test-job\lib\site-packages\ddt.py", line 221, in wrapper
    return func(self, *args, **kwargs)
  File "D:\a\1\s\test\python\compiler\test_transpiler.py", line 3289, in test_transpile_target_with_qubits_without_ops_with_routing
    tqc = transpile(qc, target=target, optimization_level=opt_level)
  File "D:\a\1\s\qiskit\compiler\transpiler.py", line 428, in transpile
    out_circuits = pm.run(circuits, callback=callback)
  File "D:\a\1\s\qiskit\transpiler\passmanager.py", line 561, in run
    return super().run(circuits, output_name, callback)
  File "D:\a\1\s\qiskit\transpiler\passmanager.py", line 582, in wrapper
    raise TranspilerError(ex.message) from ex
qiskit.transpiler.exceptions.TranspilerError: "Unable to translate the operations in the circuit: ['u', 'h'] to the backend's (or manually specified) target basis: ['x', 'h', 'barrier', 'snapshot', 'cx']. This likely means the target basis is not universal or there are additional equivalence rules needed in the EquivalenceLibrary being used. For more details on this error see: https://docs.quantum.ibm.com/api/qiskit/transpiler_passes.BasisTranslator#translation-errors"