package qiskit

  1. Overview
  2. Docs
val np : Py.Object.t
val qk : Py.Object.t
val qk_vis : Py.Object.t
val qk_qinfo : Py.Object.t
val plt : Py.Object.t
type qcircuit = Py.Object.t
val quantum_circuit : int -> int -> qcircuit
val from_qasm_str : string -> qcircuit
val from_qasm_file : string -> qcircuit
val depth : qcircuit -> int
val size : qcircuit -> int
val num_clbits : qcircuit -> int
val num_qubits : qcircuit -> int
val global_phase : qcircuit -> float
val copy : qcircuit -> qcircuit
val reset : int -> qcircuit -> qcircuit
val measure : int -> int -> qcircuit -> qcircuit
val measure_all : qcircuit -> qcircuit
val measure_many : int list -> int list -> qcircuit -> qcircuit
val initialize_from_int : int -> qcircuit -> qcircuit
val initialize_from_str : string -> qcircuit -> qcircuit
val save_state : qcircuit -> qcircuit
val remove_final_measurements : qcircuit -> qcircuit
val barrier : qcircuit -> qcircuit
val barrier_many : int list -> qcircuit -> qcircuit
val draw : qcircuit -> qcircuit
val ag_p3 : string -> float -> float -> float -> int -> qcircuit -> qcircuit
val ag_p2 : string -> float -> float -> int -> qcircuit -> qcircuit
val ag_p1 : string -> float -> int -> qcircuit -> qcircuit
val ag : string -> int -> qcircuit -> qcircuit
val ag2 : string -> int -> int -> qcircuit -> qcircuit
val ag2_p1 : string -> float -> int -> int -> qcircuit -> qcircuit
val ag2_p2 : string -> float -> float -> int -> int -> qcircuit -> qcircuit
val ag2_p4 : string -> float -> float -> float -> float -> int -> int -> qcircuit -> qcircuit
val ag3 : string -> int -> int -> int -> qcircuit -> qcircuit
val h : int -> qcircuit -> qcircuit
val x : int -> qcircuit -> qcircuit
val y : int -> qcircuit -> qcircuit
val z : int -> qcircuit -> qcircuit
val s : int -> qcircuit -> qcircuit
val sdg : int -> qcircuit -> qcircuit
val t : int -> qcircuit -> qcircuit
val tdg : int -> qcircuit -> qcircuit
val id : int -> qcircuit -> qcircuit
val p : float -> int -> qcircuit -> qcircuit
val rx : float -> int -> qcircuit -> qcircuit
val ry : float -> int -> qcircuit -> qcircuit
val rz : float -> int -> qcircuit -> qcircuit
val u3 : float -> float -> float -> int -> qcircuit -> qcircuit
val u2 : float -> float -> int -> qcircuit -> qcircuit
val crx : float -> int -> int -> qcircuit -> qcircuit
val cry : float -> int -> int -> qcircuit -> qcircuit
val crz : float -> int -> int -> qcircuit -> qcircuit
val cp : float -> int -> int -> qcircuit -> qcircuit
val cu : float -> float -> float -> float -> int -> int -> qcircuit -> qcircuit
val cx : int -> int -> qcircuit -> qcircuit
val cy : int -> int -> qcircuit -> qcircuit
val cz : int -> int -> qcircuit -> qcircuit
val ch : int -> int -> qcircuit -> qcircuit
val swap : int -> int -> qcircuit -> qcircuit
val ccx : int -> int -> int -> qcircuit -> qcircuit
val toffoli : int -> int -> int -> qcircuit -> qcircuit
val cswap : int -> int -> int -> qcircuit -> qcircuit
type qjob = Py.Object.t
type qres = Py.Object.t
type qcounts = Py.Object.t
type qstatevector = Py.Object.t
type qunitary = Py.Object.t
module Qasm2 : sig ... end
module Provider : sig ... end
module BasicProvider : sig ... end
val aer_simulator : string -> Provider.backend
module IBMProvider : sig ... end
val transpile : qcircuit -> Provider.backend -> qjob
val result : qjob -> qres
val get_statevector : qres -> qstatevector
val get_counts : qres -> qcounts
val get_unitary : qres -> qcircuit -> qunitary
module Visualization : sig ... end
module Quantum_info : sig ... end
OCaml

Innovation. Community. Security.