graphix icon indicating copy to clipboard operation
graphix copied to clipboard

arbitrary initial state

Open shinich1 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Currently, graphix does not assume arbitrary initial state for the MBQC. This is not a problem (still universal, just like real quantum hardware) but it would be a good feature to have, to test out MBQC with small toy models

Describe the feature you'd like An option to simulate with arbitrary input state. For this, we would need:

  • an option to keep the input nodes during the Pattern.perform_pauli_measurements(). Otherwise input nodes will be considered fixed |+> states and be preprocessed, making it difficult to simulate with arbitrary input state.
  • an option to use arbitrary input statevector in StatevectorBackend.
  • similar option for TN backend.

Additional context na

shinich1 avatar May 16 '23 02:05 shinich1

I will work on that. I think it also requires modification of the preparation MBQC command N so as to allow user-defined preparations.

mgarnier59 avatar Jul 05 '23 13:07 mgarnier59