question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Density matrix equivalent of qml.QubitStateVector for a mixed state simulation

See original GitHub issue

Feature details

For a mixed state simulation, I want to start from a given density matrix, but there is no such operation.

Implementation

A mixed state equivalent to the QubitStateVector class will be required, also _apply_operation for mixed state simulators should be modified.

How important would you say this feature is?

3: Very important! Blocking work.

Additional information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:19 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
CatalinaAlbornozcommented, Oct 5, 2021

Hi @shukob, if the issue is with partial transposition you can do partial transpose with a combination of reshape and transpose. Please let me know if this helps or if I’m understanding the question wrong.

0reactions
CatalinaAlbornozcommented, Nov 4, 2021

Thank you @shukob!

Read more comments on GitHub >

github_iconTop Results From Across the Web

qml.density_matrix — PennyLane 0.28.0 documentation
Quantum density matrix in the computational basis. ... can result in obtaining a mixed state, which can be only represented by the reduced...
Read more >
The Density Matrix & Mixed States - Qiskit
We will now formally introduce the density matrix notation by looking at the how it is used to represent both pure and mixed...
Read more >
PennyLane-Cirq Documentation
This device stores the internal state of the quantum simulation as a density matrix. This has additional memory overhead.
Read more >
Quantum Machine Learning - State of the Art and Future ... - BSI
It therefore seems likely that quantum machine learning (QML) will become ... computers or simulators but do not yet provide features equivalent to ......
Read more >
How to represent the state vector form of a qubit in density ...
A qubit state |ψ⟩∈C2n for n∈N can be represented as a density operator/matrix as ρ=|ψ⟩⟨ψ|. For example: If |ψ⟩=|1⟩ then ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found