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 sampling for qubit_mixed module #6639

Merged
merged 55 commits into from
Dec 4, 2024
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
a58d6e7
add measure
JerryChen97 Nov 26, 2024
8b67a6a
Init this branch
JerryChen97 Nov 26, 2024
ac8ecd2
add import
JerryChen97 Nov 26, 2024
8ba948d
add coverage and stop pylint from crime
JerryChen97 Nov 26, 2024
9816727
let's just eazy fix it
JerryChen97 Nov 26, 2024
d752148
Merge branch 'master' into add-qubit_mixed/measure
JerryChen97 Nov 26, 2024
0aa7876
add item to log
JerryChen97 Nov 26, 2024
cfe3aa0
merge changelogs of 6576 and 6564 into one
JerryChen97 Nov 27, 2024
9187533
reuse math.reduce_dm
JerryChen97 Nov 28, 2024
1307961
[skip-ci]
JerryChen97 Nov 28, 2024
a22d65b
Use probsmp process_density_matrix
JerryChen97 Nov 28, 2024
47f4929
Update doc/releases/changelog-dev.md
JerryChen97 Nov 28, 2024
ff09567
Merge branch 'master' into add-qubit_mixed/measure
JerryChen97 Nov 28, 2024
6631cef
import the common method from conftest
JerryChen97 Nov 28, 2024
b430bef
disable pylint
JerryChen97 Nov 28, 2024
38cd7a0
a better solution, also uncomment the mistakenly commented out ones
JerryChen97 Nov 28, 2024
6c4bee7
Merge branch 'master' into add-qubit_mixed/measure
JerryChen97 Nov 28, 2024
23efe08
copy-paste from qutrit with minimal mod
JerryChen97 Nov 28, 2024
e27ac44
Merge branch 'master' into add-qubit_mixed/measure
JerryChen97 Nov 29, 2024
2f52114
Update pennylane/devices/qubit_mixed/measure.py
JerryChen97 Nov 29, 2024
e763a1d
Update pennylane/devices/qubit_mixed/measure.py
JerryChen97 Nov 29, 2024
102b267
Merge branch 'master' into add-qubit_mixed/measure
JerryChen97 Nov 29, 2024
c49a66e
Merge branch 'master' into add-qubit_mixed/measure
JerryChen97 Nov 29, 2024
75c46ee
Init this branch
JerryChen97 Nov 26, 2024
ca1e5c7
copy-paste from qutrit with minimal mod
JerryChen97 Nov 28, 2024
0c75708
Merge branch 'add-qubit_mixed/sampling' of https://github.com/PennyLa…
JerryChen97 Nov 29, 2024
4d23fe5
export to the init
JerryChen97 Nov 29, 2024
aaf4796
add tests
JerryChen97 Nov 29, 2024
1fd2c5a
add list
JerryChen97 Nov 29, 2024
c8e05d8
fix match issue
JerryChen97 Nov 29, 2024
35c80bb
fix coverage
JerryChen97 Nov 29, 2024
ee7ee2d
silence the formmater
JerryChen97 Nov 29, 2024
6f35a7b
Merge branch 'master' into add-qubit_mixed/sampling
JerryChen97 Dec 2, 2024
74bc094
tr -> b
JerryChen97 Dec 2, 2024
01de04f
fix changelog
JerryChen97 Dec 2, 2024
fe9e329
re-arrange
JerryChen97 Dec 2, 2024
5d90d04
debug a potential bug
JerryChen97 Dec 2, 2024
a3453bc
reuse qubit sample probs
JerryChen97 Dec 2, 2024
1db7078
cancel exporting of sample_probs
JerryChen97 Dec 2, 2024
514fb7c
simplify logics
JerryChen97 Dec 2, 2024
8464658
Update pennylane/devices/qubit_mixed/measure.py
JerryChen97 Dec 3, 2024
a4d4fc1
Update pennylane/devices/qubit_mixed/sampling.py
JerryChen97 Dec 3, 2024
eedc419
Update pennylane/devices/qubit_mixed/sampling.py
JerryChen97 Dec 3, 2024
86398ae
imporve the CountsMP process logic
JerryChen97 Dec 3, 2024
5c08c07
rename the _process_single_shot to _process_single_shot_copy
JerryChen97 Dec 3, 2024
06ac221
Merge branch 'master' into add-qubit_mixed/sampling
JerryChen97 Dec 3, 2024
6cddf64
remove too few shots test
JerryChen97 Dec 3, 2024
ba9d784
Mkae the custom class more consistent with PL [skip-ci]
JerryChen97 Dec 3, 2024
a3c6a78
Merge branch 'master' into add-qubit_mixed/sampling
JerryChen97 Dec 4, 2024
e043f1d
clean up changelgo
JerryChen97 Dec 4, 2024
2772227
cleanup changelog
JerryChen97 Dec 4, 2024
d7577b8
Merge branch 'master' into add-qubit_mixed/sampling
JerryChen97 Dec 4, 2024
be4bdfc
Merge branch 'add-qubit_mixed/sampling' of https://github.com/PennyLa…
JerryChen97 Dec 4, 2024
749d934
Update doc/releases/changelog-dev.md
JerryChen97 Dec 4, 2024
9d66193
Merge branch 'master' into add-qubit_mixed/sampling
JerryChen97 Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merge changelogs of 6576 and 6564 into one
JerryChen97 committed Nov 27, 2024
commit cfe3aa0239edaed15f866c6578e766cd20c1ad45
7 changes: 3 additions & 4 deletions doc/releases/changelog-dev.md
Original file line number Diff line number Diff line change
@@ -46,10 +46,9 @@
* Added utility functions for handling dense matrices in the Lie theory context.
[(#6563)](https://github.com/PennyLaneAI/pennylane/pull/6563)

* Added `unary_mapping()` function to map `BoseWord` and `BoseSentence` to qubit operators, using unary mapping.
[(#6576)](https://github.com/PennyLaneAI/pennylane/pull/6576)

* Added `binary_mapping()` function to map `BoseWord` and `BoseSentence` to qubit operators, using standard-binary mapping.
* Added `unary_mapping()` function to map `BoseWord` and `BoseSentence` to qubit operators, using unary mapping
[(#6576)](https://github.com/PennyLaneAI/pennylane/pull/6576);
added `binary_mapping()` function to map `BoseWord` and `BoseSentence` to qubit operators, using standard-binary mapping.
[(#6564)](https://github.com/PennyLaneAI/pennylane/pull/6564)

<h4>New API for Qubit Mixed</h4>