Skip to content

Converts an ansatz generate by the Adaptive Variational Quantum Imaginary Time Evolution (AVQITE) algorithm into a Qiskit circuit.

License

Notifications You must be signed in to change notification settings

khidanov/avqite-ansatz-to-qiskit-circuit

Repository files navigation

avqite-ansatz-to-qiskit-circuit

Converts an ansatz generated by the Adaptive Variational Quantum Imaginary Time Evolution (AVQITE) algorithm into a Qiskit circuit.

In qiskit_circ_gen_avqite_qiskit_pauli_rot.ipynb a Qiskit implementation of the Pauli rotation gate is used. qc_qiskit_pauli_rot.pkle is the resulting ansatz circuit in this case.

In qiskit_circ_gen_avqite_custom_pauli_rot.ipynb a custom implementation of the Pauli rotation gate is used. Here one can choose whether to decompose the 'rzz' gates into a sequence of 'cx-rz-cx' or not. qc_custom_pauli_rot.pkle is the resulting ansatz circuit in this case.

About

Converts an ansatz generate by the Adaptive Variational Quantum Imaginary Time Evolution (AVQITE) algorithm into a Qiskit circuit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published