def METHOD_NAME(self, device):
    """Test simulation with unitary gate circuit instructions."""
    backend = self.backend(device=device)
    circuits = ref_unitary_gate.unitary_gate_circuits_deterministic(final_measure=False)
    circuits = transpile(circuits, backend, optimization_level=1)
    result = backend.run(circuits, shots=1).result()
    targets = ref_unitary_gate.unitary_gate_unitary_deterministic()
    self.assertSuccess(result)
    self.compare_unitary(result, circuits, targets)