Exam4Training

IBM C1000-112 Fundamentals of Quantum Computation Using Qiskit v0.2X Developer Online Training

Question #1

Which of the below statements plots how the qubits are connected in the ibmq_santiago system?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: B
Question #2

Which of the following multi qubit-gate represents the controlled-z gate?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: C
Question #3

Which one of the below statements is invalid when drawing the quantum circuit?

  • A . qc.draw(output=’mpl’)
  • B . qc.draw(output=’text’)
  • C . qc.draw(output=’latex’)
  • D . qc.draw(output=’png’)

Reveal Solution Hide Solution

Correct Answer: D
Question #4

What fundamental property of classical information is distinctly different in quantum information?

  • A . Deterministic encoding
  • B . Limited storage capacity
  • C . Non-locality and superposition
  • D . Binary representation

Reveal Solution Hide Solution

Correct Answer: C
Question #5

What is the role of the Toffoli gate in a quantum circuit?

  • A . Reverses the state of a qubit
  • B . Acts as a controlled-controlled-NOT gate
  • C . Implements a phase shift on qubits
  • D . Creates entanglement between qubits

Reveal Solution Hide Solution

Correct Answer: B
Question #6

How are measurement results represented in quantum computing?

  • A . As a single number output
  • B . As a probability distribution of classical bit values
  • C . As a complex matrix of qubit states
  • D . As a combination of classical and quantum bits

Reveal Solution Hide Solution

Correct Answer: B
Question #7

What are the eigenvalues and eigenvectors of X-gate?

  • A . ±1 and |+>, |->
  • B . -1, +1 and |+>, |->
  • C . ±1 and |0>, |1>
  • D . 1, 0 and |+>, |1>

Reveal Solution Hide Solution

Correct Answer: A
Question #8

What is the function of a SWAP gate in a quantum circuit?

  • A . Negate the state of qubits
  • B . Exchange the amplitudes of qubits
  • C . Swap the state of two qubits
  • D . Apply a controlled phase shift

Reveal Solution Hide Solution

Correct Answer: C
Question #9

Which of the following command will be used to monitor the status of the job?

job1 = execute(qc,backend)

  • A . job_monitor(job1)
  • B . job_status(job1)
  • C . job_watch(job1)
  • D . job_result(job1)

Reveal Solution Hide Solution

Correct Answer: A
Question #10

What Qiskit function is primarily used to display information about noise models and quantum errors affecting a device?

  • A . plot_error_details()
  • B . display_error_information()
  • C . show_error_map()
  • D . visualize_noise_models()

Reveal Solution Hide Solution

Correct Answer: C

Question #11

In classical information theory, information is stored in bits.

What is the quantum analogue to a bit?

  • A . Qubit
  • B . Quark
  • C . Quantum gate
  • D . Quantum byte

Reveal Solution Hide Solution

Correct Answer: A
Question #12

How does the Aer provider contribute to quantum computing experiments?

  • A . It facilitates direct execution on quantum hardware
  • B . It provides simulators for quantum circuit simulation
  • C . It offers error correction for noisy quantum devices
  • D . It enables visualization of quantum gates

Reveal Solution Hide Solution

Correct Answer: B
Question #13

Which of the following statement runs the below quantum circuit 1024 times and display the results in a list that contains the probabilities of states? (Select only 2)

qc = QuantumCircuit(2,2)

qc.h(0)

qc.t(0)

qc.t(0)

qc.h(0)

A)

B)

C)

D)

E)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D
  • E . Option E

Reveal Solution Hide Solution

Correct Answer: AC
Question #14

What is the resultant gate when we apply three Hadamard gates (in series) in the single-qubit circuit?

  • A . I-gate
  • B . H-gate
  • C . X-gate
  • D . Y-gate

Reveal Solution Hide Solution

Correct Answer: B
Question #15

In the below QuantumCircuit, how many Qubits are there?

bob = QuantumRegister(8,’b’)

alice = ClassicalRegister(2,’a’)

eve = QuantumRegister(4,’e’)

qc = QuantumCircuit(bob,alice,eve)

  • A . 8
  • B . 14
  • C . 12
  • D . 4

Reveal Solution Hide Solution

Correct Answer: C
Question #16

What role does post-processing play in interpreting quantum experiment results?

  • A . Correcting errors in the quantum gates
  • B . Optimizing quantum circuits for faster computation
  • C . Filtering out unwanted quantum states
  • D . Analyzing and interpreting measurement outcomes

Reveal Solution Hide Solution

Correct Answer: D
Question #17

Which quantum algorithm is primarily used for searching an unsorted database?

  • A . Shor’s algorithm
  • B . Grover’s algorithm
  • C . Deutsch-Jozsa algorithm
  • D . Simon’s algorithm

Reveal Solution Hide Solution

Correct Answer: B
Question #18

In quantum computing, what does a histogram of measurement outcomes represent?

  • A . The distribution of entangled qubit states
  • B . The number of gates applied in the circuit
  • C . The probability of obtaining each classical bit value
  • D . The representation of qubit error rates

Reveal Solution Hide Solution

Correct Answer: C
Question #19

What information does the Bloch sphere visualization provide in quantum computing?

  • A . The probability amplitudes of qubits
  • B . A graphical representation of quantum circuits
  • C . A display of gate errors and noise in quantum systems
  • D . Connectivity details of quantum hardware

Reveal Solution Hide Solution

Correct Answer: A
Question #20

What is the equivalent phase of the phase gate when it is Z-gate?

  • A . π/4
  • B . π/2
  • C . π
  • D . π/8

Reveal Solution Hide Solution

Correct Answer: C

Question #21

Which of the following command results in densitymatrix output of the below Quantum Circuit?

import qiskit.quantum_info as qi

bell = QuantumCircuit(2)

bell.h(0)

bell.cx(0,1)

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: A
Question #22

How do the principles of uncertainty in quantum mechanics affect information encoding?

  • A . They allow for absolute certainty in information transmission
  • B . They impose limitations on simultaneous knowledge of certain pairs of properties
  • C . They have no impact on information encoding
  • D . They make quantum information more predictable than classical information

Reveal Solution Hide Solution

Correct Answer: B
Question #23

What is the primary advantage of using BasicAer simulators in Qiskit?

  • A . Execution on actual quantum hardware
  • B . Fast and efficient simulation of quantum circuits
  • C . Higher qubit capacity compared to other simulators
  • D . Simulating quantum error correction codes

Reveal Solution Hide Solution

Correct Answer: B
Question #24

What does Qasm stand for in quantum computing?

  • A . Quantum Asymmetric Simulation Model
  • B . Quantum Assembler
  • C . Quantum Assembly Language
  • D . Quantum Algorithmic Solver

Reveal Solution Hide Solution

Correct Answer: C
Question #25

What code fragment codes the equivalent circuit if you remove the barrier in the following QuantumCircuit?

  • A . qc = QuantumCircuit(1,1)
    qc.h(0)
    qc.s(0)
    qc.h(0)
    qc.measure(0,0)
  • B . qc = QuantumCircuit(1,1)
    qc.measure(0,0)
  • C . qc = QuantumCircuit(1,1)
    qc.h(0)
    qc.t(0)
    qc.tdg(0)
    qc.h(0)
    qc.measure(0,0)
  • D . qc = QuantumCircuit(1,1)
    qc.h(0)
    qc.z(0)
    qc.h(0)
    qc.measure(0,0)

Reveal Solution Hide Solution

Correct Answer: A
Question #26

In Qiskit, what function allows users to display a list of available backends for quantum computation?

  • A . show_backends()
  • B . list_quantum_devices()
  • C . display_backends()
  • D . available_backends()

Reveal Solution Hide Solution

Correct Answer: A
Question #27

Which of the following is the best option to plot the |+> basis in plot_bloch_vector?

  • A . plot_bloch_vector([0,1,0])
  • B . plot_bloch_vector([1,0,0])
  • C . plot_bloch_vector([0,0,1])
  • D . plot_bloch_vector([0,0.5,0])

Reveal Solution Hide Solution

Correct Answer: B
Question #28

Which tool is commonly used to simulate quantum circuits and execute experiments in a software environment?

  • A . Qiskit Aer
  • B . Quantum Assembly Language (QASM)
  • C . IBM Quantum Experience
  • D . Q# Programming Language

Reveal Solution Hide Solution

Correct Answer: A
Question #29

Which of the following statements best describes the role of Qasm in programming quantum circuits?

  • A . Qasm describes classical computations that support quantum circuits
  • B . Qasm provides a way to visualize quantum circuit execution
  • C . Qasm describes the sequence of quantum operations in a circuit
  • D . Qasm is a programming language used for quantum hardware communication

Reveal Solution Hide Solution

Correct Answer: C
Question #30

Which programming paradigm best aligns with Qasm in the context of quantum computing?

  • A . Procedural programming
  • B . Object-oriented programming
  • C . Imperative programming
  • D . Domain-specific language programming

Reveal Solution Hide Solution

Correct Answer: D

Question #31

Which quantum logic gate is commonly used to create entangled states?

  • A . Hadamard gate
  • B . CNOT gate
  • C . Pauli-X gate
  • D . Toffoli gate

Reveal Solution Hide Solution

Correct Answer: B
Question #32

Which Qiskit function is used to visualize the statevector of a quantum circuit?

  • A . plot_statevector()
  • B . display_quantum_statevector()
  • C . visualize_state()
  • D . draw_statevector()

Reveal Solution Hide Solution

Correct Answer: A
Question #33

What feature differentiates the Aer provider’s simulators from other backends in Qiskit?

  • A . The ability to execute directly on IBM Quantum Experience
  • B . Access to classical computing resources
  • C . Specialized quantum error correction capabilities
  • D . Tailored, high-performance quantum simulations

Reveal Solution Hide Solution

Correct Answer: D
Question #34

What Qiskit component enables simulation of quantum systems, including noise models and backends?

  • A . Qiskit Ignis
  • B . Qiskit Terra
  • C . Qiskit Aer
  • D . Qiskit Aqua

Reveal Solution Hide Solution

Correct Answer: C
Question #35

What kind of information does the statevector_simulator provide about a quantum circuit?

  • A . The final state vector of the quantum system after the circuit execution
  • B . The unitary matrix representing the quantum gates in the circuit
  • C . The noise model affecting the quantum operations
  • D . The measurement outcomes of the qubits

Reveal Solution Hide Solution

Correct Answer: A
Question #36

Which code fragment will produce a maximally entangled, or Bell, state?

  • A . bell = QuantumCircuit(2)
    bell.h(0)
    bell.x(1)
    bell.cx(0, 1)
  • B . bell = QuantumCircuit(2)
    bell.cx(0, 1)
    bell.h(0)
    bell.x(1)
  • C . bell = QuantumCircuit(2)
    bell.h(0)
    bell.x(1)
    bell.cz(0, 1)
  • D . bell = QuantumCircuit(2)
    bell.h(0)
    bell.h(0)

Reveal Solution Hide Solution

Correct Answer: A
Question #37

Which of the following statement will return a random state vector of dimension 2?

  • A . random_statevector_operator(2)
  • B . random_get_statevector(2)
  • C . random_statevector(2)
  • D . random_get_statevector_operator(2)

Reveal Solution Hide Solution

Correct Answer: C
Question #38

When applying a CNOT gate to two qubits, which qubit acts as the control and which one acts as the target?

  • A . The first qubit is the control, and the second qubit is the target
  • B . The second qubit is the control, and the first qubit is the target
  • C . It doesn’t matter, as the CNOT gate is symmetric
  • D . Both qubits simultaneously act as control and target

Reveal Solution Hide Solution

Correct Answer: A
Question #39

In executing quantum experiments, what does "quantum volume" measure?

  • A . The number of qubits in a quantum circuit
  • B . The speed of quantum computations
  • C . The complexity of quantum algorithms
  • D . The overall performance and error rates of quantum hardware

Reveal Solution Hide Solution

Correct Answer: D
Question #40

In the Qiskit framework, which component is essential for studying and implementing methods to mitigate errors in quantum computation?

  • A . Qiskit Aqua
  • B . Qiskit Terra
  • C . Qiskit Ignis
  • D . Qiskit Aer

Reveal Solution Hide Solution

Correct Answer: C

Question #41

What will be the output of the result variable in the below snippet?

q = QuantumRegister(1,’q’)

qc = QuantumCircuit(q)

qc.y(0)

backend_unitary = BasicAer.get_backend(‘unitary_simulator’)

result = execute(qc,backend_unitary).result().get_unitary(decimals=3)

  • A .
  • B .
  • C .
  • D .

Reveal Solution Hide Solution

Correct Answer: A
Question #42

Which of the following code snippet for the below quantum circuit will put the given qubits in a equiprobable states?

qc=QuantumCircuit(2)

  • A . qc.h(0)
    qc.cx(0,1)
  • B . qc.h(0)
    qc.h(1)
  • C . qc.x(0)
    qc.h(0)
    qc.cx(0, 1)
  • D . qc.h(0)
    qc.x(1)
    qc.cx(0,1)

Reveal Solution Hide Solution

Correct Answer: B
Question #43

S-gate is a Qiskit phase gate with what value of the phase parameter?

  • A . π/8
  • B . π/4
  • C . π
  • D . π/2

Reveal Solution Hide Solution

Correct Answer: D
Question #44

What would be the fidelity result(s) for these two operators, which differ only by global phase?

op_a = Operator(XGate())

op_b = numpy.exp(1j * 0.5) * Operator(XGate())

  • A . state_fidelity() of 1.0
  • B . state_fidelity() and average_gate_fidelity() of 1.0
  • C . average_gate_fidelity() and process_fidelity() of 1.0
  • D . state_fidelity(), average_gate_fidelity() and process_fidelity() of 1.0

Reveal Solution Hide Solution

Correct Answer: C
Question #45

If we have n qubits, how many states can we represent maximum?

  • A . 2n
  • B . n^2
  • C . 2^n
  • D . 2^n – 1

Reveal Solution Hide Solution

Correct Answer: C
Question #46

What type of information does Qasm provide regarding quantum circuits?

  • A . Details about the execution time of the circuit
  • B . Descriptions of classical computations within the quantum circuit
  • C . Specifications of quantum gates, qubit interactions, and measurements
  • D . Quantum error rates and correction techniques

Reveal Solution Hide Solution

Correct Answer: C
Question #47

Which Qiskit component provides access to the Aer provider for quantum simulation?

  • A . Qiskit Ignis
  • B . Qiskit Terra
  • C . Qiskit Aer
  • D . Qiskit Aqua

Reveal Solution Hide Solution

Correct Answer: C
Question #48

Which quantum gate is commonly used for reversing a quantum operation?

  • A . T gate
  • B . CNOT gate
  • C . Pauli-X gate
  • D . Hadamard gate

Reveal Solution Hide Solution

Correct Answer: C
Question #49

Please choose the correct identities applicable: (Select 2)

  • A . HXH = Z
  • B . HYH = X
  • C . HZH = X
  • D . ZXZ = Z
  • E . ZYZ = H

Reveal Solution Hide Solution

Correct Answer: AC
Question #50

Which code fragment would yield an operator that represents a single-qubit X gate?

  • A . op = Operator.Xop(0)
  • B . qc = QuantumCircuit(1)
    qc.x(0)
    op = Operator(qc)
  • C . op = Operator([[0,1]])
  • D . op = Operator([[1,0,0,1]])

Reveal Solution Hide Solution

Correct Answer: B

Question #51

What is the function of noise models in quantum simulators?

  • A . Introduce errors and simulate real-world quantum hardware behavior
  • B . Minimize errors and produce ideal quantum states
  • C . Enable faster execution of quantum algorithms
  • D . Provide additional qubit capacity for larger simulations

Reveal Solution Hide Solution

Correct Answer: A
Question #52

Predict the output of the average_gate_fidelity, process_fidelity of the below snippet:

a = Operator(XGate())

b = np.exp(1j /3) * a

average_gate_fidelity(a,b)

process_fiedlity(a,b)

  • A . average_gate_fidelity will be 0.5 and  process_fidelity will be 1.0
  • B . average_gate_fidelity will be 1.0 and  process_fidelity will be 0.5
  • C . average_gate_fidelity will be 1.0 and  process_fidelity will be 1.0
  • D . average_gate_fidelity will be 0 and  process_fidelity will be 0.5

Reveal Solution Hide Solution

Correct Answer: C
Question #53

Which of the following commands will result in |i> basis state?

i.e. |i> = 1/ √ 2(|0 〉 +i|1 〉 )

  • A . H-gate followed by Z-gate
  • B . Z-gate followed by H-gate
  • C . H-gate followed by S-gate
  • D . H-gate followed by Y-gate

Reveal Solution Hide Solution

Correct Answer: C
Question #54

What is barrier instruction between the H-gates in the below quantum circuit do?

  • A . It joins both H-gates and executes them.
  • B . It won’t simplify the circuit between the two H-gates
  • C . It is used for better circuit visualization
  • D . It is used for circuit optimization

Reveal Solution Hide Solution

Correct Answer: B
Question #55

What does the Bloch sphere represent in quantum computing?

  • A . A visual representation of a qubit’s state
  • B . A quantum error correction technique
  • C . A type of quantum algorithm
  • D . A quantum encryption method

Reveal Solution Hide Solution

Correct Answer: A
Question #56

What is the primary function of the Aer provider in Qiskit?

  • A . Visualizing quantum circuits
  • B . Providing access to quantum devices
  • C . Offering quantum algorithmic solutions
  • D . Supplying high-performance quantum simulators

Reveal Solution Hide Solution

Correct Answer: D
Question #57

Which Python package provides BasicAer simulators in Qiskit?

  • A . qiskit.quantum
  • B . qiskit.aer
  • C . qiskit.tools
  • D . qiskit.sim

Reveal Solution Hide Solution

Correct Answer: B
Question #58

Which of the following missing statement return the depth of the following quantum circuit?

q = QuantumRegister(3)

c = ClassicalRegister(3)

qc = QuantumCircuit(q,c)

qc.h(q[0:3])

qc.x(q[0:3])

qc.z(q[0:3])

qc.draw(output=’mpl’)

### missing statement to return the depth of the circuit

  • A . qc.size()
  • B . qc.path()
  • C . qc.depth()
  • D . qc.depth_display()

Reveal Solution Hide Solution

Correct Answer: C
Question #59

What does the quantum operation SWAP do?

  • A . Exchanges the phase of qubits
  • B . Exchanges the amplitudes of qubits
  • C . Exchanges the states of two qubits
  • D . Implements quantum error correction

Reveal Solution Hide Solution

Correct Answer: C
Question #60

What is the output of the result in the below snippet?

ghz = QuantumCircuit(3)

ghz.x(0)

ghz.h(0)

ghz.cx([0,0],[1,2])

ghz.measure_all()

backend_qasm = BasicAer.get_backend(‘qasm_simulator’)

job = execute(ghz, backend_qasm,shots=1024)

result = job.result().get_counts()

  • A . {‘111’: 300, ‘000’: 724}
  • B . {‘100’: 514, ‘010’: 510}
  • C . {‘100’: 253, ‘010’: 261, ‘111’: 253, ‘000’: 261}
  • D . {‘000’: 512, ‘111’:512}

Reveal Solution Hide Solution

Correct Answer: D

Question #61

In a quantum circuit, what does applying a controlled-U gate mean?

  • A . Applying an unknown quantum operation
  • B . Applying a controlled phase shift operation
  • C . Performing an unconditional operation on a qubit
  • D . Implementing a controlled NOT operation

Reveal Solution Hide Solution

Correct Answer: B
Question #62

Which of the following bloch_multivector plot options given below is the correct one for the given bell quantum circuit?

bell = QuantumCircuit(2)

bell.h(0)

bell.cx(0,1)

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: C
Question #63

What is the command used to retrieve the last run job from a backend?

  • A . backend.jobs()[0]
  • B . backend.jobs()[-1]
  • C . backend.retrieve_job()[0]
  • D . backend.retrieve_job()[1]

Reveal Solution Hide Solution

Correct Answer: A
Question #64

Which of these would execute a circuit on a set of qubits which are coupled in a custom way?

from qiskit import QuantumCircuit, execute, BasicAer

backend = BasicAer.get_backend(‘qasm_simulator’)

qc = QuantumCircuit(2)

# insert code here

  • A . execute(qc, backend, shots=1024, coupling_map=[[0,1], [1,2]])
  • B . execute(qc, backend, shots=1024, custom_topology=[[0,1],[2,3]]
  • C . execute (qc, backend, mode="custom")
  • D . execute(qc, backend, shots=1024, device="qasm_simulator", mode="custom")

Reveal Solution Hide Solution

Correct Answer: A
Question #65

What is the purpose of executing a quantum experiment on a simulator?

  • A . To study the behavior of classical algorithms
  • B . To validate quantum algorithms using classical computing resources
  • C . To measure the performance of quantum hardware
  • D . To generate random numbers efficiently

Reveal Solution Hide Solution

Correct Answer: B
Question #66

In our quantum circuit, we have a single qubit. and it is initialized to |0 〉 state.

Which of the following quantum gates operation gives the same output state |0 〉 ? (select any 3)

  • A . S
  • B . T
  • C . HSH
  • D . HYH
  • E . I
  • F . HZH

Reveal Solution Hide Solution

Correct Answer: ABE
Question #67

Which quantum algorithm is commonly used to find factors of large composite numbers efficiently?

  • A . Grover’s algorithm
  • B . Shor’s algorithm
  • C . Bernstein-Vazirani algorithm
  • D . Deutsch-Jozsa algorithm

Reveal Solution Hide Solution

Correct Answer: B
Question #68

Given this code, which two inserted code fragments result in the state vector represented by this Bloch sphere?

qc = QuantumCircuit(1,1)

# Insert code fragment here

simulator = Aer.get_backend(‘statevector_simulator’)

job = execute(qc, simulator)

result = job.result()

outputstate = result.get_statevector(qc)

plot_bloch_multivector(outputstate)

  • A . qc.h(0)
  • B . qc.rx(math.pi / 2, 0)
  • C . qc.ry(math.pi / 2, 0)
  • D . qc.rx(math.pi / 2, 0)
    qc.rz(-math.pi / 2, 0)
  • E . qc.ry(math.pi, 0)

Reveal Solution Hide Solution

Correct Answer: AC
Question #69

Which of the following bloch_multivector plot options given below is the correct one for the given bell quantum circuit?

qc = QuantumCircuit(2)

qc.x(0)

qc.h(0)

qc.h(1)

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: B
Question #70

Which two options would place a barrier across all qubits to the QuantumCircuit below?

qc = QuantumCircuit(3,3)

  • A . qc.barrier(qc)
  • B . qc.barrier([0,1,2])
  • C . qc.barrier()
  • D . qc.barrier(3)
  • E . qc.barrier_all()

Reveal Solution Hide Solution

Correct Answer: BC

Question #71

What characteristic of quantum information poses a challenge to traditional cryptography systems?

  • A . High error rates in quantum systems
  • B . Quantum tunneling effect
  • C . Quantum superposition
  • D . Quantum entanglement

Reveal Solution Hide Solution

Correct Answer: D
Question #72

What is the advantage of using the Aer provider’s simulators over real quantum hardware?

  • A . Simulators provide faster execution times
  • B . Real hardware offers higher accuracy in results
  • C . Simulators allow for larger qubit capacities
  • D . Real hardware ensures better noise reduction

Reveal Solution Hide Solution

Correct Answer: A
Question #73

In quantum computing, what does the term "quantum supremacy" refer to?

  • A . Achieving ultimate quantum error correction
  • B . Superior speed of quantum computers over classical ones
  • C . Ability to create quantum entanglement
  • D . Advanced quantum cryptography techniques

Reveal Solution Hide Solution

Correct Answer: B
Question #74

Which kind of quantum simulation does the Aer provider primarily offer?

  • A . Classical bit-level simulation
  • B . Ideal, noise-free quantum circuit simulation
  • C . Simulation of quantum entanglement states
  • D . High-level programming language simulations

Reveal Solution Hide Solution

Correct Answer: B
Question #75

Which three simulators are available in BasicAer?

  • A . qasm_simulator
  • B . basic_qasm_simulator
  • C . statevector_simulator
  • D . unitary_simulator
  • E . quantum_simulator
  • F . quantum_circuit_simulator

Reveal Solution Hide Solution

Correct Answer: ACD
Question #76

What is the fundamental principle behind quantum teleportation?

  • A . Instantaneous transfer of quantum information
  • B . Replication of quantum states
  • C . Movement of qubits through a quantum network
  • D . Transfer of quantum information without physically moving the qubits

Reveal Solution Hide Solution

Correct Answer: D
Question #77

Which command is used to get the version of qiskit packages and the system information of the system?

  • A . print(qiskit_version)
  • B . print(qiskit.__qiskit_version__)
  • C . print(__version__)
  • D . print(qiskit.__version__)

Reveal Solution Hide Solution

Correct Answer: B
Question #78

Which gate is used to perform a controlled phase shift on a qubit, conditioned on the state of another qubit?

  • A . T gate
  • B . Pauli-Z gate
  • C . Phase gate
  • D . Controlled-S gate

Reveal Solution Hide Solution

Correct Answer: B
Question #79

Which quantum gate is similar to classical NOT gate?

  • A . X gate
  • B . Hadamard gate
  • C . Y gate
  • D . CNOT gate

Reveal Solution Hide Solution

Correct Answer: A
Question #80

Which one of the below is the noisy quantum circuit simulator backend?

  • A . qasm_simulator
  • B . statevector_simulator
  • C . qasm_simulator
  • D . Aer_simulator

Reveal Solution Hide Solution

Correct Answer: A

Question #81

Which quantum gate is equivalent to classical NOT-gate?

  • A . X-gate
  • B . Y-gate
  • C . Z-gate
  • D . H-gate

Reveal Solution Hide Solution

Correct Answer: A
Question #82

How does the storage of information differ between classical and quantum systems?

  • A . Classical systems can store infinite amounts of information
  • B . Quantum systems have limited storage capacity
  • C . Both systems have similar storage capacities
  • D . Quantum systems can store more information due to qubit properties

Reveal Solution Hide Solution

Correct Answer: D
Question #83

In the given circuit what are the possible ways to measure the quantum register using the classical register? (Select 2)

q = QuantumRegister(3)

c = ClassicalRegiser(3)

qc = QuantumCircuit(q,c)

qc.h(0)

qc.cx(0,1)

qc.cx(0,2)

qc.barrier()

  • A . qc.measure([0,1,2],[0,1,2])
  • B . qc.measure_all()
  • C . qc.measure([0,0],[1,1],[2,2])
  • D . qc.measure(q,c)
  • E . qc.measure(0,1,2)

Reveal Solution Hide Solution

Correct Answer: AD
Question #84

Which gate is typically used to reset a qubit’s state to |0> in a quantum circuit?

  • A . T gate
  • B . Reset gate
  • C . Pauli-Z gate
  • D . Hadamard gate

Reveal Solution Hide Solution

Correct Answer: C
Question #85

Which aspect of quantum circuits does Qasm primarily focus on?

  • A . Handling classical data operations
  • B . Managing quantum error correction
  • C . Describing quantum gate sequences and qubit operations
  • D . Visualizing qubit states

Reveal Solution Hide Solution

Correct Answer: C
Question #86

Which of the following statement will convert the below qasm file to a Quantum circuit qc?

myfile.qasm

OPENQASM 2.0;

include "qelib1.inc";

qreg q[2];

h q[0];

h q[1];

s q[0];

s q[1];

  • A . qc = QuantumCircuit.from_file(‘myfile.qasm’)
  • B . qc = QuantumCircuit.from_qasm_file(‘myfile.qasm’)
  • C . qc = QuantumCircuit.read(‘myfile.qasm’)
  • D . qc = QuantumCircuit.read(‘myfile.qasm’)
  • E . qc = QuantumCircuit.qasm_read(‘myfile.qasm’)

Reveal Solution Hide Solution

Correct Answer: B
Question #87

Which component of Qiskit provides a high-level interface for quantum circuit creation and manipulation?

  • A . Qiskit Aer
  • B . Qiskit Terra
  • C . Qiskit Ignis
  • D . Qiskit Aqua

Reveal Solution Hide Solution

Correct Answer: B
Question #88

How does Qiskit Terra contribute to the process of quantum circuit creation?

  • A . It provides real quantum hardware for circuit execution
  • B . It designs and simulates quantum circuits on classical computers
  • C . It focuses on quantum error correction for circuits
  • D . It generates quantum algorithms for various applications

Reveal Solution Hide Solution

Correct Answer: B
Question #89

What does the draw(output=’latex’) function in qiskit returns?

  • A . TextDrawing
  • B . matplotlib.figure.Figure
  • C . PIL.Image
  • D . str

Reveal Solution Hide Solution

Correct Answer: C
Question #90

Given the state vector represented by this Bloch sphere of single bit quantum circuitqc, please choose the operations.

Which would lead to this state by assuming the quantum circuit is initialized to |0> (select any 3)

  • A . qc.h(0)
  • B . qc.h(0)
    qc.x(0)
  • C . qc.ry(math.pi / 2, 0)
    qc.x(0)
  • D . qc.rx(math.pi, 0)
  • E . qc.rx(math.pi, 0)
    qc.rz(math.pi, 0)

Reveal Solution Hide Solution

Correct Answer: ABC

Question #91

Predict the output of counts in the below-given snippet:

q = QuantumRegister(2,’q’)

c = ClassicalRegister(2,’c’)

qc = QuantumCircuit(q,c)

qc.h(0)

qc.h(1)

qc.measure([0,1],[0,1])

backend = BasicAer.get_backend(‘qasm_simulator’)

job = execute(qc, backend, shots=100)

counts = job.result().get_counts()

  • A .
  • B .
  • C .
  • D .
  • E .

Reveal Solution Hide Solution

Correct Answer: C
Question #92

What is the depth of the below quantum circuit?

  • A . 3
  • B . 4
  • C . 5
  • D . 6

Reveal Solution Hide Solution

Correct Answer: B
Question #93

In the circuit given below having statevector simulator as the backend, choose the _missing_element_from the options?

qc = QuantumCircuit(1)

qc.x(0)

qc.z(0)

backend_state = BasicAer.get_backend(‘statevector_simulator’)

result = execute(qc,backend_state).result()._missing_element_

  • A . get_statevector()
  • B . get_statevector_state()
  • C . get_statevector_result()
  • D . get_state_simulator()

Reveal Solution Hide Solution

Correct Answer: A
Question #94

What advantage does the Aer provider’s simulators offer for researchers and developers?

  • A . High-level abstraction from the quantum algorithms
  • B . Direct access to quantum cloud services
  • C . Cost-effective and faster testing of quantum algorithms
  • D . Execution of algorithms with quantum error correction codes

Reveal Solution Hide Solution

Correct Answer: C
Question #95

In quantum computing, what is the primary method for retrieving results from a quantum experiment?

  • A . Direct measurement of qubit states
  • B . Analyzing quantum gates in the circuit
  • C . Evaluating quantum error correction codes
  • D . Simulating the quantum circuit on a classical computer

Reveal Solution Hide Solution

Correct Answer: A
Question #96

Predict the output of the average_gate_fidelity, process_fidelity of the below snippet:

a = Operator(YGate())

b = np.exp(1j /2) * a

average_gate_fidelity(a,b)

process_fiedlity(a,b)

  • A . average_gate_fidelity will be 0.5 and  process_fidelity will be 1.0
  • B . average_gate_fidelity will be 1.0 and process_fidelity will be 0.5
  • C . average_gate_fidelity will be 0 and process_fidelity will be 0.5
  • D . average_gate_fidelity will be 1.0 and process_fidelity will be 1.0

Reveal Solution Hide Solution

Correct Answer: D
Question #97

What process follows the retrieval of results from a quantum experiment to draw meaningful conclusions?

  • A . Quantum gate optimization
  • B . Quantum entanglement verification
  • C . Statistical analysis and result interpretation
  • D . Implementing quantum error correction codes

Reveal Solution Hide Solution

Correct Answer: C
Question #98

which of the following simulator can be as good as real IBM Quantum computer?

  • A . qasm_simulator
  • B . real_quantum_simulator
  • C . statevector_simulator
  • D . unitary_simulator

Reveal Solution Hide Solution

Correct Answer: A
Question #99

Given Quantum Circuit

qc= QuantumCircuit(2)

qc.h(0)

qc.cx(0,1)

to run the above quantum circuit for 2000 times in the qasm_simulator, choose the best option in the given below?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: A
Question #100

Which of the below API returns the random unitary of dimension 2?

  • A . random_get_unitary(2)
  • B . random_unitary(2)
  • C . random_get_unitary_matrix(2)
  • D . random_get_unitary_state(2)

Reveal Solution Hide Solution

Correct Answer: B
Exit mobile version