Closed teaguetomesh closed 2 years ago
I realized after merging this wasn't into main, but into bigendian. I'm assuming it is still OK as the builds pass.
When we merge into main, we could consider using a parameter on simulate()
that defines max_parallel_threads = 0
instead of using kwargs
and the try/catch block
Merging in some of the changes I've made to my local version of
c2qa-qiskit
.max-parallel-threads
parameter when making calls tosimulate
QuantumRegisters
to be added to aCVCircuit
after it has been constructed. For this one I actually had some issues if I directly overloaded the qiskit.add_register
function, so I changed the name to.add_qubit_register
, the main thing is thatCVCircuit._qubit_regs
needs to get updated when this happens.