We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hamiltonian batching workflows do not work on the tensornet and tensornet-mps backend. We need to add a mqpu version of those I believe.
tensornet
tensornet-mps
mqpu
import cudaq from cudaq import spin # cudaq.set_target("nvidia", option="mqpu") cudaq.set_target('tensornet') # cudaq.set_target('tensornet-mps') cudaq.mpi.initialize() qubit_count = 15 term_count = 100 kernel = cudaq.make_kernel() qubits = kernel.qalloc(qubit_count) kernel.h(qubits[0]) for i in range(1, qubit_count): kernel.cx(qubits[0], qubits[i]) hamiltonian = cudaq.SpinOperator.random(qubit_count, term_count) result = cudaq.observe(kernel, hamiltonian, execution=cudaq.parallel.thread).expectation() cudaq.mpi.finalize()
RuntimeError: The current quantum_platform does not support parallel distribution of observe() expectation value computations.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Required prerequisites
Describe the feature
Hamiltonian batching workflows do not work on the
tensornet
andtensornet-mps
backend. We need to add amqpu
version of those I believe.The text was updated successfully, but these errors were encountered: