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 the qutip-qip-0.1.2 release #110

Merged
merged 7 commits into from
Nov 24, 2021

Conversation

BoxiLi
Copy link
Member

@BoxiLi BoxiLi commented Nov 24, 2021

This micro release adds more thorough documentation for the project and fixes a few bugs in QubitCircuit and Processor.

PRs collected here.

Improvements

Bug Fixes

BoxiLi and others added 6 commits November 24, 2021 17:30
A list of noise objects defined by the user is passed to the function. However, when adding T1 and T2 noise, the generated objects were added directly to the list. This changes the `noise_list` defined by the user and is a problem if the same `Processor` instance is used to perform more than one simulation. The T1,T2 noise objects from the previous run will accumulate in the `noise_list`. Therefore, we copy the list before add T1 T2 noise.
Minor bug fix and docstring improvement from qutip.qip
Added tests for Hadamard and improved its construction efficiency.
The get_full_tlist method only considers the tlist in the ideal pulse. If the Lindblad noise has a different time dependency, this will cause inconsistency. Use the tlist of the generated QobjEvo, which already includes all the time steps.
- QubitCircuit.latex_code() now returns the full latex code, which can be saved as a tex file and compiled externally.
- The algorithm will print the latex code if pdflatex failed. This simplifies the debugging process.
Copy link
Member

@nathanshammah nathanshammah left a comment

Choose a reason for hiding this comment

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

Need to update the changelog for this release. Otherwise approved.

@BoxiLi BoxiLi merged commit 25883cc into qutip:qutip-qip-0.1.X Nov 24, 2021
@BoxiLi BoxiLi deleted the qutip-qip-0.1.X branch November 25, 2021 08:41
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.

None yet

3 participants