Skip to content

Add new string representation to FermiWord#4255

Merged
soranjh merged 15 commits intomasterfrom
fermiword_string_change
Jun 16, 2023
Merged

Add new string representation to FermiWord#4255
soranjh merged 15 commits intomasterfrom
fermiword_string_change

Conversation

@soranjh
Copy link
Copy Markdown
Contributor

@soranjh soranjh commented Jun 15, 2023

Context:
Change the string representation of FermiWord from '0+ 1-' to 'a⁺(0) a(1)'.

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

@soranjh soranjh changed the title [wip] add new string representation to FermiWord Add new string representation to FermiWord Jun 15, 2023
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 15, 2023

Codecov Report

Merging #4255 (e9fb58c) into master (58bdaea) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           master    #4255    +/-   ##
========================================
  Coverage   99.78%   99.78%            
========================================
  Files         352      352            
  Lines       31754    31883   +129     
========================================
+ Hits        31686    31816   +130     
+ Misses         68       67     -1     
Impacted Files Coverage Δ
pennylane/__init__.py 100.00% <100.00%> (ø)
pennylane/devices/qubit/measure.py 100.00% <100.00%> (ø)
pennylane/devices/qubit/sampling.py 100.00% <100.00%> (ø)
pennylane/fermi/conversion.py 100.00% <100.00%> (ø)
pennylane/fermi/fermionic.py 100.00% <100.00%> (ø)
pennylane/qchem/observable_hf.py 100.00% <100.00%> (+1.06%) ⬆️
pennylane/transforms/qcut/cutstrategy.py 100.00% <100.00%> (ø)
pennylane/transforms/qcut/montecarlo.py 100.00% <100.00%> (ø)
pennylane/transforms/qcut/processing.py 100.00% <100.00%> (ø)
pennylane/transforms/qcut/tapes.py 100.00% <100.00%> (ø)
... and 1 more

Copy link
Copy Markdown
Contributor

@Jaybsoni Jaybsoni left a comment

Choose a reason for hiding this comment

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

Overall looks good, added some suggestions. Also for some reason I can't find FermiWord when I search for it on the docs page? Once these concerns are addressed I am happy to approve 👍🏼

@soranjh
Copy link
Copy Markdown
Contributor Author

soranjh commented Jun 15, 2023

Also for some reason I can't find FermiWord when I search for it on the docs page?

The documentation is checked/updated in a dedicated PR.

@soranjh soranjh requested a review from Jaybsoni June 15, 2023 14:26
Copy link
Copy Markdown
Contributor

@lillian542 lillian542 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 to me!

Copy link
Copy Markdown
Contributor

@Jaybsoni Jaybsoni left a comment

Choose a reason for hiding this comment

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

LGTM 💯

@Jaybsoni Jaybsoni enabled auto-merge (squash) June 15, 2023 21:32
@Jaybsoni Jaybsoni disabled auto-merge June 15, 2023 21:33
@soranjh soranjh enabled auto-merge (squash) June 16, 2023 01:28
@soranjh soranjh disabled auto-merge June 16, 2023 02:32
@soranjh soranjh enabled auto-merge (squash) June 16, 2023 02:32
@soranjh soranjh merged commit 546f8aa into master Jun 16, 2023
@soranjh soranjh deleted the fermiword_string_change branch June 16, 2023 04:21
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.

3 participants