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

Add the missing drift Hamiltonian to the method run_analytically of Processor #74

Merged
merged 2 commits into from
Jul 7, 2021

Conversation

BoxiLi
Copy link
Member

@BoxiLi BoxiLi commented Jul 7, 2021

Description
In the analytical calculation of the circuit unitaries in Processor, the drift Hamiltonian was missing. Add it and add a test accordingly. Also fix a wrong docstring.
Equivalent to qutip/qutip#1603

Related issues or PRs
fix qutip/qutip#1602

Changelog
Add the missing drift Hamiltonian to the method run_analytically of Processor

@hodgestar
Copy link
Contributor

Same suggestions here as in qutip/qutip#1603.

Copy link
Contributor

@hodgestar hodgestar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@BoxiLi BoxiLi added this to the qutip-qip-0.1.1 milestone Jul 7, 2021
@BoxiLi BoxiLi merged commit 9e2af33 into qutip:master Jul 7, 2021
BoxiLi added a commit to BoxiLi/qutip-qip that referenced this pull request Jul 11, 2021
… `Processor` (qutip#74)

* add missing drift ham to the analytical calculation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

qutip.qip.device.processor.Processor.run_analytically does not include drift
2 participants