Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Conversation

@Matt-Stypulkoski
Copy link
Contributor

Summary

Updated qiskit/advanced/terra/using_the_transpiler and qiskit/advanced/aqua/chemistry/programmatic_approach to work with qiskit v0.12.0

Details and comments

In using_the_transpiler.ipynb I removed the initial layout parameter from the BasicSwap, LookaheadSwap, and StochasticSwap, and I removed the initial_layout that was initialized to be input into these passes. There is also an updated list of passes.

in programmatic_approach.ipynb I added an import for qiskit.aqua.operators.Z2Symmetries. I changed qubitOp = qubitOp.two_qubit_reduced_operator(num_particles) to qubitOp = Z2Symmetries.two_qubit_reduction(qubitOp, num_particles) and print(qubitOp.print_operators()) to print(qubitOp.print_details()). This removes deprecation warnings.

@nonhermitian
Copy link
Contributor

Note that the transpiler tutorials are merged in #781. This is because the transpiler notebook in fundamentals was greatly expanded.

@Matt-Stypulkoski
Copy link
Contributor Author

Since the transpiler tutorials have been merged as Paul said, and the Aqua/chemistry tutorial also in my PR has already been updated in #778, I will close this PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants