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
hamiltonian = SymbolicHamiltonian(nqubits=3)
# Instantiate the oracle with 10 Trotter steps
oracle = tfim_EvolutionOracle(h=hamiltonian, steps=10, evolution_oracle_type="trotter")
# Example: Run the circuit for qubit a=0, B_a=0.8, and t_duration=1.0
circuit = oracle.circuit(a=0, t_duration=1.0, B_a=0.8)
# Print the resulting circuit to visualize it
print(circuit.summary())
Produces
Circuit depth = 22
Total number of gates = 22
Number of qubits = 3
Most common gates:
rx: 10
rz: 10
cx: 2
Please implement this as an evolution oracle similar to #69
Here are some checks for the decomposition
The text was updated successfully, but these errors were encountered: