I'm trying to use to_qasm() to get the QASM representation of my trotter decomposition circuits but I'm running into an error: "Unitary is not supported by OpenQASM".
My circuits look like this:
ham = hamiltonians.XXZ(nqubits=5)
circuit = ham.circuit(dt=1e-4)
This stores the hamiltonian in the circuit as Unitary gates which is currently not supported by to_qasm() and is throwing the error.
I'm trying to use to_qasm() to get the QASM representation of my trotter decomposition circuits but I'm running into an error: "Unitary is not supported by OpenQASM".
My circuits look like this:
This stores the hamiltonian in the circuit as Unitary gates which is currently not supported by to_qasm() and is throwing the error.