%matplotlib inline
from qiskit import QuantumCircuit
from utils import get_image_path

constant_oracle = QuantumCircuit(3)
constant_oracle.x([0, 2])
constant_oracle.draw('mpl', filename=get_image_path("constant-oracle.png"))

balanced_oracle = QuantumCircuit(3)
balanced_oracle.x([0, 2])
balanced_oracle.barrier()
balanced_oracle.cx(1, 2)
balanced_oracle.cx(0, 2)
balanced_oracle.barrier()
balanced_oracle.x([0, 2])
balanced_oracle.draw('mpl', filename=get_image_path("balanced-oracle.png"))