C1000-112 Dumps

C1000-112 Braindumps C1000-112 Real Questions C1000-112 Practice Test C1000-112 Actual Questions


killexams.com


IBM


C1000-112


Fundamentals of Quantum Computation Using Qiskit v0.2X Developer


https://killexams.com/pass4sure/exam-detail/C1000-112

Question: 1


Which method is used to display system information such as the available backends in Qiskit?


  1. get_backend

  2. show_system_info


    vailable_backends wer: D

    anation: The available_backends method in Qiskit is used to display m information, specifically the list of available backends (simulators evices) that can be used to execute quantum circuits. It returns a list o end objects that can be further inspected or used for execution. Theref orrect answer is D) available_backends.


    stion: 2


    is the output of the below snippet?


    /np.sqrt(2)

    ed_state = [a, np.sqrt(1-a**2)] uantumCircuit(1)

    itialize(desired_state, 0)

  3. get_system_info

  4. a Ans

Expl

syste or

real d f

back ore,

the c Que What

a = 1 desir qc = Q qc.in

back_sv = BasicAer.get_backend('statevector_simulator') result = execute(qc, back_sv).result()

qc_sv = result.get_statevector(qc) state_fidelity(desired_state, qc_sv)


  1. 0.5

  2. Error in executing state_fidelity

  3. 0

  4. 1.0


Answer: D


ned from the execution is stored in qc_sv. Finally, the state_fidelity ion is used to compare the desired state with the obtained state vector the desired state is initialized correctly in the circuit, the fidelity bet esired state and the obtained state vector should be 1.0, indicating a p

h. Therefore, the correct answer is D) 1.0.


stion: 3


ch module in Qiskit is used to implement QASM (Quantum Assembly uage) code?


skit.ignis skit.aqua skit.transpiler skit.qasm


wer: D

Explanation: The given code initializes a quantum circuit qc with a desired state obtained from desired_state. The circuit is then executed using the statevector_simulator backend obtained from BasicAer. The state vector obtai

funct .

Since ween

the d erfect

matc


Que


Whi Lang


  1. qi

  2. qi

  3. qi

  4. qi Ans

Explanation: The qiskit.qasm module in Qiskit provides functionality to work with QASM, which is a low-level quantum assembly language used to describe quantum circuits. It offers features such as parsing, generation, and manipulation of QASM code. Therefore, the correct answer is D) qiskit.qasm.


Question: 4

Which module in Qiskit is commonly used for constructing visualizations of quantum circuits?


  1. qiskit.circuit

  2. qiskit.visualization

  3. qiskit.compiler


    wer: B


    anation: The qiskit.visualization module in Qiskit provides functionali onstructing visualizations of quantum circuits. It includes methods to

    create circuit diagrams, statevectorvisualizations, and other visual sentations of quantum circuits. It is commonly used to generate alizations for better understanding and analysis of quantum circuits. efore, the correct answer is B) qiskit.visualization.


    stion: 5

    ch Qiskit tool is commonly used for circuit visualization and plotting? iskit Terra

    iskit Aqua iskit Ignis

    iskit Visualization

  4. qiskit.transpiler Ans

Expl ty

for c


repre visu Ther


Que


Whi


  1. Q

  2. Q

  3. Q

  4. Q


Answer: A


Explanation: The Qiskit Terra module in Qiskit provides tools and functionality for working with quantum circuits. It includes various features for circuit visualization, plotting, and analysis. It allows users to visualize circuits using different styles and formats, making it a commonly used tool for circuit

visualization in Qiskit. Therefore, the correct answer is A) Qiskit Terra.


Question: 6


When comparing and contrasting quantum information, which of the following aspects is typically considered?


lassical encryption it manipulation

uantum teleportation wer: A

anation: When comparing and contrasting quantum information, one o spects that is typically considered is entanglement. Entanglement is a amental feature of quantum mechanics, where two or more quantum ms become correlated in such a way that the state of one system cann ribed independently of the others. It plays a crucial role in various qua mation processing tasks and distinguishes quantum information from ical information. Therefore, the correct answer is A) Entanglement.


stion: 7


ch backend in Qiskit is commonly used for simulating quantum circuit Python-based simulators?

  1. Entanglement

  2. C

  3. B

  4. Q


Ans


Expl f the

key a fund

syste ot be

desc ntum

infor class


Que


Whi s

using


  1. BasicAer

  2. IBMQ

  3. Aer

  4. QuantumCircuit

Explanation: The BasicAer module in Qiskit provides a collection of Python- based simulators for simulating quantum circuits. It includes simulators for statevector simulation, unitary simulation, and more. These simulators are commonly used for testing and debugging quantum circuits without requiring access to real quantum hardware. Therefore, the correct answer is A) BasicAer.



ch method is used to retrieve the measurement results from a quantum riment in Qiskit?


et_statevector et_counts et_backend et_job_status


wer: B


anation: The get_counts method is used in Qiskit to retrieve the urement results from a quantum experiment. After executing a quantu it, the measurement outcomes are recorded, and the get_counts metho ws us to access the frequency of each measurement outcome. It returns onary where the keys represent the measurement outcomes and the val sent the corresponding counts. Therefore, the correct answer is B) counts.

Question: 8


Whi expe


  1. g

  2. g

  3. g

  4. g Ans

Expl

meas m

circu d

allo a

dicti ues

repre get_


Question: 9


Which method is used to measure the expectation value of an observable in Qiskit?

  1. execute

  2. bind

  3. run Answer: B

h the circuit should be executed. By executing a circuit, we obtain a r ct, which can be used to access various information about the executio ding the expectation value of an observable. Therefore, the correct an execute.

Explanation: The execute method in Qiskit is used to run a quantum circuit or experiment. It allows us to specify the backend (simulator or real device) on whic esult

obje n,

inclu swer

is B)