You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to sample a unitary from the random_clifford set. I'm sure I can use the qiskit.quantum_info.random_clifford() in qiskit. However, I can not find a similar API in PastaQ. How should I sample a random clifford unitary?
The text was updated successfully, but these errors were encountered:
I don't think it is practical for this package or other ITensor packages like ITensorMPS.jl to provide a complete suite of circuit generators, especially given that there are other libraries that provide that functionality.
If you output the circuit from Qiskit in the OpenQASM format, you could use a package like Quasar.jl to parse the circuit in Julia and then convert it to the circuit format used by ITensorMPS.jl/PastaQ.jl. It would be a good project for someone (maybe us if we have the time, but no promises on a timeline for that) to convert OpenQASM circuits, perhaps loaded with Quasar.jl into Julia, to the ITensorMPS.jl/PastaQ.jl circuit format.
Another option would be to see if Yao.jl provides a function for generating that circuit, and if it does you could convert the circuit with YaoPastaQ.jl to the ITensorMPS.jl/PastaQ.jl circuit format, if you are looking to use the circuit in an MPS/MPO simulation.
Finally, this package itself has become difficult to maintain given our limited developer resources and focus on ITensor packages like ITensorMPS.jl and ITensorNetworks.jl that provide the same, or more general, circuit simulation functionality but are more aligned with our broader development plans of ITensor. So I would recommend using ITensorMPS.jl directly for MPS/MPO circuit simulation, which is better maintained. Having said that, my comments above about how to generate the circuit with another library and convert it for use in ITensorMPS.jl still hold. Though probably we should update the package YaoPastaQ.jl that I mentioned above to be based directly off of ITensorMPS.jl, i.e. create a new package YaoITensorMPS.jl.
I'm trying to sample a unitary from the random_clifford set. I'm sure I can use the
qiskit.quantum_info.random_clifford()
in qiskit. However, I can not find a similar API in PastaQ. How should I sample a random clifford unitary?The text was updated successfully, but these errors were encountered: